[PATCH v3 2/2] rtc: Add Cadence RTC driver

2019-01-22 Thread Jan Kotas
This patch adds a driver for Cadence RTC controller. It can be enabled with RTC_DRV_CADENCE Kconfig option. It supports waking system from sleep modes. Signed-off-by: Jan Kotas --- drivers/rtc/Kconfig | 10 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-cadence.c | 423 +++

[PATCH v3 0/2] rtc: Add a driver for Cadence RTC

2019-01-22 Thread Jan Kotas
This patchset adds a driver support for Cadence RTC IP. It supports time, date and wakeups from sleep. Changes since v2: Fixed a typo in the bindings documentation. Changes since v1: Added devm_rtc_allocate_device before requesting an IRQ Added range_min, range_max values

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

2019-01-22 Thread Patrick Bellasi
On 22-Jan 10:37, Peter Zijlstra wrote: > On Mon, Jan 21, 2019 at 03:44:12PM +, Patrick Bellasi wrote: > > On 21-Jan 16:33, Peter Zijlstra wrote: > > > On Tue, Jan 15, 2019 at 10:15:02AM +, Patrick Bellasi wrote: > > > > > > > +static inline void > > > > +uclamp_task_update_active(struct ta

Re: [PATCH] iommu/amd: Fix IOMMU page flush when detach all devices from a domain

2019-01-22 Thread j...@8bytes.org
Hi Suravee, On Thu, Jan 17, 2019 at 08:44:36AM +, Suthikulpanit, Suravee wrote: > Then, in __domain_flush_pages, we issue command when the dev_iommu[] >= 0. > This should preserve previous behavior, and only add flushing condition to > the specific IOMMU in detached state. Please let me know w

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-22 Thread Greg KH
On Wed, Jan 16, 2019 at 05:32:45PM +0100, Vincent Whitchurch wrote: > The Virtio-over-PCIe framework living under drivers/misc/mic/vop implements a > generic framework to use virtio between two Linux systems, given shared memory > and a couple of interrupts. It does not actually require the Intel

Re: [PATCH v3] mm/hotplug: invalid PFNs from pfn_to_online_page()

2019-01-22 Thread Oscar Salvador
On Mon, Jan 21, 2019 at 04:27:47PM -0500, Qian Cai wrote: > Fixes: 9f1eb38e0e11 ("mm, kmemleak: little optimization while scanning") > Acked-by: Michal Hocko > Signed-off-by: Qian Cai Heh, I guess that it comes in handy to have a machine with CONFIG_HOLES_IN_ZONE enabled. I totally missed the

Re: [PATCH] iommu/intel: quirk to disable DMAR for QM57 igfx

2019-01-22 Thread Daniel Vetter
On Tue, Jan 22, 2019 at 11:39 AM Joerg Roedel wrote: > > On Fri, Jan 18, 2019 at 12:17:05PM +, Eric Wong wrote: > > @@ -5411,6 +5411,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e20, > > quirk_iommu_g4x_gfx); > > DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e30, quirk_iommu_g4x_

Re: linux-next: manual merge of the pidfd tree with the y2038 tree

2019-01-22 Thread Arnd Bergmann
On Tue, Jan 22, 2019 at 11:30 AM Christian Brauner wrote: > > On Tue, Jan 22, 2019 at 10:31:46AM +0100, Christian Brauner wrote: > > On Tue, Jan 22, 2019 at 10:26:56AM +0100, Arnd Bergmann wrote: > > > On Mon, Jan 21, 2019 at 11:48 PM Christian Brauner > > > wrote: > > > > > > > > On Mon, Jan 21

Re: [PATCH] iwlwifi: fix false-positive maybe-uninitialized warning

2019-01-22 Thread Luca Coelho
On Mon, 2018-12-10 at 21:39 +0100, Arnd Bergmann wrote: > With CONFIG_NO_AUTO_INLINE, we run into a silly warning when > gcc fails to remember that n_profiles is constant across > the function call to iwl_mvm_sar_set_profile: > > drivers/net/wireless/intel/iwlwifi/mvm/fw.c: In function > 'iwl_mvm_

Re: [PATCH v6 04/16] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-01-22 Thread Patrick Bellasi
On 22-Jan 11:03, Peter Zijlstra wrote: > On Mon, Jan 21, 2019 at 03:54:07PM +, Patrick Bellasi wrote: > > On 21-Jan 16:17, Peter Zijlstra wrote: > > > On Tue, Jan 15, 2019 at 10:15:01AM +, Patrick Bellasi wrote: > > > > +#ifdef CONFIG_UCLAMP_TASK > > > > > > > +struct uclamp_bucket { > > >

[PATCH v2] venus: enc: fix enum_frameintervals

2019-01-22 Thread Stanimir Varbanov
This ixes an issue when setting the encoder framerate because of missing precision. Now the frameinterval type is changed to TYPE_CONTINUOUS and step = 1. Also the math is changed when framerate property is called - the firmware side expects that the framerate one is 1 << 16 units. Signed-off-by:

RE: [PATCH 1/4] dt-binding: irq: imx-irqsteer: use irq number per channel instead of group number

2019-01-22 Thread Aisheng Dong
> From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Friday, January 18, 2019 6:12 PM [...] > >> From: Marc Zyngier [mailto:marc.zyng...@arm.com] > >> Sent: Friday, January 18, 2019 5:39 PM On 18/01/2019 08:48, Lucas > >> Stach wrote: > >>> Am Freitag, den 18.01.2019, 07:53 + schrieb Aish

Re: [PATCH] iwlwifi: nvm-parse: use struct_size() in kzalloc()

2019-01-22 Thread Luciano Coelho
On Tue, 2019-01-08 at 11:55 -0600, 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 of elements for that array. For example: > > struct foo

Re: [PATCH][next] iwlwifi: mvm: use struct_size() in kzalloc()

2019-01-22 Thread Luciano Coelho
On Tue, 2019-01-15 at 16:02 -0600, 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 of elements for that array. For example: > > struct foo

Re: [PATCH] iommu: amd: call free_iova_fast with pfn in map_sg

2019-01-22 Thread Joerg Roedel
On Thu, Jan 17, 2019 at 12:29:02PM -0700, Jerry Snitselaar wrote: > In the error path of map_sg, free_iova_fast is being called with > address instead of the pfn. This results in a bad value getting into > the rcache, and can result in hitting a BUG_ON when > iova_magazine_free_pfns is called. > >

Re: linux-next: manual merge of the pidfd tree with the y2038 tree

2019-01-22 Thread Christian Brauner
On Tue, Jan 22, 2019 at 11:48:12AM +0100, Arnd Bergmann wrote: > On Tue, Jan 22, 2019 at 11:30 AM Christian Brauner > wrote: > > > > On Tue, Jan 22, 2019 at 10:31:46AM +0100, Christian Brauner wrote: > > > On Tue, Jan 22, 2019 at 10:26:56AM +0100, Arnd Bergmann wrote: > > > > On Mon, Jan 21, 2019

Re: [PATCH] iwlwifi: eeprom-parse: use struct_size() in kzalloc()

2019-01-22 Thread Luciano Coelho
On Tue, 2019-01-08 at 11:17 -0600, 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 of elements for that array. For example: > > struct foo

Re: [PATCH 4/4] irq: imx: irqsteer: add multi output interrupts support

2019-01-22 Thread Lucas Stach
Am Dienstag, den 22.01.2019, 10:39 + schrieb Aisheng Dong: > > > > From: Lucas Stach [mailto:l.st...@pengutronix.de] > > Sent: Friday, January 18, 2019 6:23 PM > > [...] > > > > This has been discussed when upstreaming the driver. The controller > > > > may support multiple output IRQs, but on

Re: [PATCH 4/6] dt-bindings: display: armada: Add display subsystem binding

2019-01-22 Thread Russell King - ARM Linux admin
On Mon, Jan 21, 2019 at 05:58:50PM -0600, Rob Herring wrote: > On Mon, Jan 21, 2019 at 11:53 AM Russell King - ARM Linux admin > wrote: > > > > On Mon, Jan 21, 2019 at 10:07:11AM -0600, Rob Herring wrote: > > > On Mon, Jan 21, 2019 at 9:46 AM Lubomir Rintel wrote: > > > > > > > > On Mon, 2019-01-

Re: [PATCH] uio:remove unneeded variable ret

2019-01-22 Thread Greg KH
On Wed, Jan 09, 2019 at 07:53:59PM +0800, wangbo wrote: > In uio_dmem_genirq_open the variable ret is unneededw,remove it now. Minor typo in this sentence :( > > Signed-off-by: wangbo I need a "full" name for a patch to be able to be accepted. thanks, greg k-h

Re: [PATCH 2/2] driver: uio: fix possible use-after-free in __uio_register_device

2019-01-22 Thread Greg KH
On Tue, Jan 08, 2019 at 09:01:48PM +0800, Liu Jian wrote: > From: liujian Same problem here.

Re: [PATCH 1/2] driver: uio: fix possible memory leak in __uio_register_device

2019-01-22 Thread Greg KH
On Tue, Jan 08, 2019 at 09:01:47PM +0800, Liu Jian wrote: > From: liujian This From: line does not match your email From: line, nor your signed-off-by name :( Please fix up and resend. thanks, greg k-h

Re: [PATCH] iommu/intel: quirk to disable DMAR for QM57 igfx

2019-01-22 Thread Joerg Roedel
Hi Daniel, On Tue, Jan 22, 2019 at 11:46:39AM +0100, Daniel Vetter wrote: > Note that the string of platforms which have various issues with iommu > and igfx is very long, thus far we only disabled it where there's no > workaround to stop it from hanging the box, but otherwise left it > enabled. S

Re: [PATCH v4] driver: uio: fix possible memory leak in uio_open

2019-01-22 Thread Greg KH
On Tue, Jan 08, 2019 at 09:38:43PM +0800, Liu Jian wrote: > If 'idev->info' is NULL, we need to free 'listerner' "listener", right? Please fix up and resend. thanks, greg k-h

Re: [PATCH v6 08/16] sched/cpufreq: uclamp: Add utilization clamping for FAIR tasks

2019-01-22 Thread Patrick Bellasi
On 22-Jan 11:37, Rafael J. Wysocki wrote: > On Tuesday, January 15, 2019 11:15:05 AM CET Patrick Bellasi wrote: > > Each time a frequency update is required via schedutil, a frequency is > > selected to (possibly) satisfy the utilization reported by each > > scheduling class. However, when utilizat

Re: [PATCH] iwlwifi: mvm: remove duplicated include from ops.c

2019-01-22 Thread Luciano Coelho
On Thu, 2019-01-17 at 15:00 +0800, YueHaibing wrote: > Remove duplicated include. > > Signed-off-by: YueHaibing > --- Dropped, this is a duplicate. -- Cheers, Luca.

RE: [PATCH 1/1] irqchip: gpcv2: make config option visible

2019-01-22 Thread Aisheng Dong
> From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Friday, January 18, 2019 6:10 PM [...] > >>> > >>> config IMX_GPCV2 > >>> - bool > >>> + bool "i.MX GPCv2 IRQ chip" > >>> + depends on ARCH_MXC || (COMPILE_TEST && OF) > >>> select IRQ_DOMAIN > >>> help > >>> Enables the wakeup I

Re: [PATCH v6 08/16] sched/cpufreq: uclamp: Add utilization clamping for FAIR tasks

2019-01-22 Thread Rafael J. Wysocki
On Tue, Jan 22, 2019 at 12:02 PM Patrick Bellasi wrote: > > On 22-Jan 11:37, Rafael J. Wysocki wrote: > > On Tuesday, January 15, 2019 11:15:05 AM CET Patrick Bellasi wrote: [cut] > > > > IMO it would be better to combine this patch with the next one. > > Main reason was to better document in th

[PATCH v2 0/5] Implement komeda DRM-Plane

2019-01-22 Thread james qian wang (Arm Technology China)
This is the 3rd patchset for the komeda driver. This patchset implemented plane/plane_helper functions for DRM-Plane. per the komeda driver design, A DRM-plane maps to komeda layer input pipeline, so the plane->atomic_check will build a layer input pipeline according to the plane_state. and with t

Re: [PATCH 1/4] dt-binding: irq: imx-irqsteer: use irq number per channel instead of group number

2019-01-22 Thread Lucas Stach
Am Dienstag, den 22.01.2019, 10:56 + schrieb Aisheng Dong: > > > > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > > Sent: Friday, January 18, 2019 6:12 PM > > [...] > > > > > > > > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > > > > Sent: Friday, January 18, 2019 5:39 PM On 18/01/2019

[PATCH v2 4/5] drm/komeda: Add komeda_build_layer_data_flow

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" build_layer_data_flow builds a input pipeline according to plane_state. and in this initial stage only added this simplest pipeline usage: Layer -> compiz The scaler and layer_split will be added in the future. v2: - Rebase. - Introduce struct kom

[PATCH v2 3/5] drm/komeda: Initialize komeda component as drm private object

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Initialize koemda_layer, komeda_compiz, komeda_improc and komeda_timing_ctrlr as drm private object, then track komeda private component state by drm_atomic_state. v2: - Update code after Applied commit: b962a12050a3 ("drm/atomic: integrate modese

[PATCH v2 1/5] drm: Add drm_atomic_get_old/new_private_obj_state

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" This pair of functions return the old/new private object state for the given private_obj, or NULL if the private_obj is not part of the global atomic state. Reviewed-by: Alexandru Gheorghe Signed-off-by: James Qian Wang (Arm Technology China) ---

[PATCH v2 2/5] drm/komeda: Add komeda_pipeline/component_get_state_and_set_user

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" get_state_and_set_user packed get_state and set_user into one function, which get pipeline/component state for a specific pipeline/component, if success set the user to it. v2: - Rebase. - Applied commit: b962a12050a3 ("drm/atomic: integrate modes

[PATCH v2 5/5] drm/komeda: Add komeda_plane/plane_helper_funcs

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Per komeda design KMS-plane maps to komeda layer input pipeline. komeda_plane_atomic_check is for building a komeda layer input pipeline. And KMS-plane is only a user of komeda resources. so there is no real HW update for plane, but all HW update wi

Re: [PATCH v3 2/3] drivers: platform: goldfish: goldfish_address_space: add a driver

2019-01-22 Thread Greg KH
On Tue, Jan 08, 2019 at 06:11:11PM -0800, r...@google.com wrote: > From: Roman Kiryanov > > A driver for the Goldfish Android emulator that occupies > address space to use it with the memory sharing device > on the QEMU side. The memory sharding device allocates > subranges and populate them with

READ & REPLY

2019-01-22 Thread David Moore
Dear Sir/Madam, I solicit your cooperation to move in a large volume of funds for investment into your industrial sector or any other viable sector in your country. Reply for more details about how much the funds is and the mode of transferring to your bank account. Regards, David Moore. /***

Re: [PATCH v3 3/3] drivers: platform: goldfish: goldfish_sync: add a driver

2019-01-22 Thread Greg KH
On Tue, Jan 08, 2019 at 06:11:12PM -0800, r...@google.com wrote: > From: Roman Kiryanov > > The Goldfish sync driver is designed to provide a interface > between the underlying host's sync device and the kernel's > fence sync framework. > > Signed-off-by: Roman Kiryanov > --- > Changes in v3: >

[PATCH v2 00/11] Implement komeda DRM-Crtc

2019-01-22 Thread james qian wang (Arm Technology China)
This is the 4th patchset for komeda-driver, with this patchset the driver can bring up and enable the D71 support with basic features. This patchset implemented komeda_crtc/crtc_helper functions for DRM-crtc. v2: Rebase james qian wang (Arm Technology China) (11): drm/komeda: Add komeda_build_

[PATCH v2 01/11] drm/komeda: Add komeda_build_display_data_flow

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" This function builds a display output pipeline according to crtc_state. And this change only added single pipeline support, the dual pipeline with slave enabled data flow support will be added in the following change. v2: Rebase Signed-off-by: Jame

[PATCH v2 03/11] drm/komeda: Add komeda_crtc_atomic_flush

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" A komeda flush is comprised two steps: 1. update pipeline/component state to HW. 2. call dev_func->flush to notify HW to kickoff the update. Signed-off-by: James Qian Wang (Arm Technology China) --- .../gpu/drm/arm/display/komeda/d71/d71_dev.c |

[PATCH v2 02/11] drm/komeda: Add komeda_release_unclaimed_resources

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Komeda driver treats KMS-CRTC/PLANE as user which will acquire pipeline resources, but we still need to release the unclaimed resources. crtc_atomic_check is the final check stage, so beside build a display data pipeline according the crtc_state, but

[PATCH v2 06/11] drm/komeda: Add komeda_crtc_atomic_enable/disable

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Pass enable/disable command to komeda and adjust komeda hardware for enable/disable a display instance. v2: Rebase Signed-off-by: James Qian Wang (Arm Technology China) --- .../gpu/drm/arm/display/komeda/komeda_crtc.c | 106 +- .

[PATCH v2 04/11] drm/komeda: Add komeda_crtc_mode_valid/fixup

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" komeda_crtc_mode_valid compares the input mode->clk with main engine clk and AXI clk, and reject the mode if the required pixel clk can not be satisfied by main engine clk and AXI-clk. Signed-off-by: James Qian Wang (Arm Technology China) --- .../

[PATCH v2 08/11] drm/komeda: Add komeda_crtc_funcs

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Added functions: - komeda_crtc_reset - komeda_crtc_vblank_enable - komeda_crtc_vblank_disable Signed-off-by: James Qian Wang (Arm Technology China) --- .../gpu/drm/arm/display/komeda/komeda_crtc.c | 48 +++ 1 file changed, 48 i

[PATCH v2 09/11] drm/komeda: Add komeda_kms_check

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Implement komeda_kms_check to add all affected_planes (even unchanged) to drm_atomic_state. since komeda need to re-calculate the resources assumption in every commit. v2: Rebase Signed-off-by: James Qian Wang (Arm Technology China) --- .../gpu/d

[PATCH v2 07/11] drm/komeda: Add komeda_crtc_vblank_enable/disable

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Add a new komeda_dev_func->on_off_vblank to enable/disable HW vblank event Signed-off-by: James Qian Wang (Arm Technology China) --- .../gpu/drm/arm/display/komeda/d71/d71_dev.c | 10 ++ .../gpu/drm/arm/display/komeda/komeda_crtc.c | 19

Re: [PATCH v5 07/17] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2019-01-22 Thread Maxime Ripard
On Fri, Jan 18, 2019 at 09:14:19PM +0530, Jagan Teki wrote: > On Thu, Jan 17, 2019 at 10:02 AM Jagan Teki > wrote: > > > > On Thu, Jan 17, 2019 at 12:48 AM Maxime Ripard > > wrote: > > > > > > On Sun, Jan 13, 2019 at 01:07:41AM +0530, Jagan Teki wrote: > > > > > > > > > Again, I cannot help you

[PATCH v2 05/11] drm/komeda: Add komeda_crtc_prepare/unprepare

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" These two function will be used by komeda_crtc_enable/disable to do some prepartion works when enable/disable a crtc. like enable a crtc: 1. Adjust display operation mode. 2. Enable/prepare needed clk. v2: Rebase Signed-off-by: James Qian Wang

[PATCH v2 10/11] drm/komeda: Add sysfs attribute: core_id and config_id

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" Add two sysfs node: core_id, config_id, user can read them to fetch the HW product information. v2: Rebase Signed-off-by: James Qian Wang (Arm Technology China) --- .../drm/arm/display/include/malidp_product.h | 12 + .../gpu/drm/arm/display

[PATCH v2 11/11] drm/komeda: Expose bus_width to Komeda-CORE

2019-01-22 Thread james qian wang (Arm Technology China)
From: "james qian wang (Arm Technology China)" CHIP set bus_width according to the HW configuration, and CORE will use it as buffer alignment. v2: Rebase Signed-off-by: James Qian Wang (Arm Technology China) --- drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c | 1 + drivers/gpu/drm/arm/displ

[PATCH v4 2/3] ASoC: add fsl_audmix DT binding documentation

2019-01-22 Thread Viorel Suman
Add the DT binding documentation for NXP Audio Mixer CPU DAI driver. Signed-off-by: Viorel Suman --- .../devicetree/bindings/sound/fsl,audmix.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/fsl,audmix.txt diff -

[PATCH v4 1/3] ASoC: fsl: Add Audio Mixer CPU DAI driver

2019-01-22 Thread Viorel Suman
This patch implements Audio Mixer CPU DAI driver for NXP iMX8 SOCs. The Audio Mixer is a on-chip functional module that allows mixing of two audio streams into a single audio stream. Audio Mixer datasheet is available here: https://www.nxp.com/docs/en/reference-manual/IMX8DQXPRM.pdf Signed-off-by

Re: [PATCH v5 07/17] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2019-01-22 Thread Maxime Ripard
On Thu, Jan 17, 2019 at 10:02:12AM +0530, Jagan Teki wrote: > On Thu, Jan 17, 2019 at 12:48 AM Maxime Ripard > wrote: > > > > On Sun, Jan 13, 2019 at 01:07:41AM +0530, Jagan Teki wrote: > > > > > > > > Again, I cannot help you without the datasheet for the panels > > > > > > > > you're > > > > >

Re: [kbuild-all] arch/x86/include/asm/cmpxchg.h:245:2: error: 'asm' operand has impossible constraints

2019-01-22 Thread Philip Li
On Tue, Jan 22, 2019 at 11:08:34AM +0100, Borislav Petkov wrote: > On Tue, Jan 22, 2019 at 12:53:11PM +0800, kbuild test robot wrote: > > Hi Ingo, > > > > FYI, the error/warning still remains. > > Guys, > > we already discussed this: > > https://lists.01.org/pipermail/kbuild-all/2018-December/0

[PATCH v4 3/3] ASoC: fsl: Add Audio Mixer machine driver

2019-01-22 Thread Viorel Suman
This patch implements Audio Mixer machine driver for NXP iMX8 SOCs. It connects together Audio Mixer and related SAI instances. Signed-off-by: Viorel Suman --- sound/soc/fsl/Kconfig | 9 ++ sound/soc/fsl/Makefile | 2 + sound/soc/fsl/imx-audmix.c | 327 ++

[PATCH v4 0/3] Add NXP AUDMIX device and machine drivers

2019-01-22 Thread Viorel Suman
The patchset adds NXP Audio Mixer (AUDMIX) device and machine drivers and related DT bindings documentation. Changes since V3: 1. Removed machine driver DT bindings documentation. 2. Trigger machine driver probe from device driver as suggested by Nicolin. Changes since V2: 1. Moved "dais" node fr

Re: [PATCH v2] tty: moxa: Fix coding style issues

2019-01-22 Thread Jiri Slaby
On 21. 01. 19, 23:45, Antoine Robertson wrote: > Fix coding style issues > > Signed-off-by: Antoine Robertson > --- > drivers/tty/moxa.c | 20 +--- > 1 file changed, 9 insertions(+), 11 deletions(-) > > diff --git a/drivers/tty/moxa.c b/drivers/tty/moxa.c > index 3a1a5e0ee93f..9

Re: [PATCH v3 0/4] Add NXP AUDMIX device and machine drivers

2019-01-22 Thread Viorel Suman
Hi Nicolin, On Vi, 2019-01-18 at 11:46 -0800, Nicolin Chen wrote: > On Fri, Jan 18, 2019 at 01:16:24PM +, Viorel Suman wrote: > > > > > > > > > > > > > 1. Moved "dais" node from machine driver DTS node to device > > > > driver > > > > DTS node > > > >   as suggested by Rob. > > > That was n

[PATCH v2 1/4] mtd: nand: Always store info about bad block markers in chip struct

2019-01-22 Thread Schrempf Frieder
From: Frieder Schrempf The information about where the manufacturer puts the bad block markers inside the bad block and in the OOB data is stored in different places. Let's move this information to nand_chip.options and nand_chip.badblockpos. As this chip-specific information is not directly rel

[PATCH v2 3/4] mtd: rawnand: ESMT: Also use the last page for bad block markers

2019-01-22 Thread Schrempf Frieder
From: Frieder Schrempf It is known that some ESMT SLC NANDs have been shipped with the factory bad block markers in the first or last page of the block, instead of the first or second page. To be on the safe side, let's check all three locations. Signed-off-by: Frieder Schrempf --- drivers/mtd

[PATCH v2 4/4] mtd: rawnand: AMD: Also use the last page for bad block markers

2019-01-22 Thread Schrempf Frieder
From: Frieder Schrempf According to the datasheet of some Cypress SLC NANDs, the bad block markers can be in the first, second or last page of a block. So let's check all three locations. Signed-off-by: Frieder Schrempf --- drivers/mtd/nand/raw/nand_amd.c | 8 +++- 1 file changed, 7 insert

[PATCH v2 0/4] mtd: rawnand: Support bad block markers in first, second or last page

2019-01-22 Thread Schrempf Frieder
From: Frieder Schrempf Currently supported bad block marker positions within the block are: * in first page only * in last page only * in first or second page Some ESMT NANDs are known to have been shipped by the manufacturer with bad block markers in the first or last page, instead of the first

[PATCH v2 2/4] mtd: rawnand: Support bad block markers in first, second or last page

2019-01-22 Thread Schrempf Frieder
From: Frieder Schrempf Currently supported bad block marker positions within the block are: * in first page only * in last page only * in first or second page Some ESMT NANDs are known to have been shipped by the manufacturer with bad block markers in the first or last page, instead of the first

Re: [PATCH v6 08/16] sched/cpufreq: uclamp: Add utilization clamping for FAIR tasks

2019-01-22 Thread Patrick Bellasi
On 22-Jan 12:04, Rafael J. Wysocki wrote: > On Tue, Jan 22, 2019 at 12:02 PM Patrick Bellasi > wrote: > > > > On 22-Jan 11:37, Rafael J. Wysocki wrote: > > > On Tuesday, January 15, 2019 11:15:05 AM CET Patrick Bellasi wrote: > > Merge the two together, please. Ok, will do in v7, thanks. -- #i

Re: [GIT PULL 0/7] perf/urgent fixes

2019-01-22 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > Regards, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit 4e72ee8872279a70ebe973172133b98e8acbf54e: > > Merge tag 'perf-core-for-mingo-5.0-20190

[tip:perf/urgent] perf ordered_events: Fix crash in ordered_events__free

2019-01-22 Thread tip-bot for Jiri Olsa
Commit-ID: 99d86c8b88393e29cf07c020585f2c8afbcdd97d Gitweb: https://git.kernel.org/tip/99d86c8b88393e29cf07c020585f2c8afbcdd97d Author: Jiri Olsa AuthorDate: Thu, 17 Jan 2019 12:30:17 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 17 Jan 2019 11:07:00 -0300 perf ordered_eve

[tip:perf/urgent] perf script: Fix crash with printing mixed trace point and other events

2019-01-22 Thread tip-bot for Andi Kleen
Commit-ID: 96167167b6e17b25c0e05ecc31119b73baeab094 Gitweb: https://git.kernel.org/tip/96167167b6e17b25c0e05ecc31119b73baeab094 Author: Andi Kleen AuthorDate: Thu, 17 Jan 2019 11:48:34 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 18 Jan 2019 09:53:07 -0300 perf script: Fi

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2019-01-22 Thread Sugaya, Taichi
Hi On 2018/12/04 22:32, Rob Herring wrote: On Tue, Dec 4, 2018 at 5:30 AM Sugaya, Taichi wrote: Hi On 2018/12/04 0:49, Rob Herring wrote: On Mon, Dec 3, 2018 at 1:42 AM Sugaya, Taichi wrote: Hi, On 2018/11/30 17:16, Stephen Boyd wrote: Quoting Sugaya, Taichi (2018-11-29 04:24:51) On 2

[PATCH] firmware: arm_scmi: provide the mandatory device release callback

2019-01-22 Thread Sudeep Holla
The device/driver model clearly mandates that bus driver that discover and allocate the device must set the release callback. This callback will be used to free the device after all references have gone away. scmi bus driver is missing the obvious callback which will result in the following warnin

[tip:perf/urgent] perf core: Fix perf_proc_update_handler() bug

2019-01-22 Thread tip-bot for Stephane Eranian
Commit-ID: 1a51c5da5acc6c188c917ba572eebac5f8793432 Gitweb: https://git.kernel.org/tip/1a51c5da5acc6c188c917ba572eebac5f8793432 Author: Stephane Eranian AuthorDate: Thu, 10 Jan 2019 17:17:16 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 18 Jan 2019 11:10:38 -0300 perf core

[tip:perf/urgent] perf top: Fix wrong hottest instruction highlighted

2019-01-22 Thread tip-bot for He Kuang
Commit-ID: da06d568386877809532e8ec678f4a5e300f0951 Gitweb: https://git.kernel.org/tip/da06d568386877809532e8ec678f4a5e300f0951 Author: He Kuang AuthorDate: Mon, 21 Jan 2019 00:05:22 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 11:29:07 -0300 perf top: Fix wro

[tip:perf/urgent] perf tools: Handle TOPOLOGY headers with no CPU

2019-01-22 Thread tip-bot for Stephane Eranian
Commit-ID: 1497e804d1a6e2bd9107ddf64b0310449f4673eb Gitweb: https://git.kernel.org/tip/1497e804d1a6e2bd9107ddf64b0310449f4673eb Author: Stephane Eranian AuthorDate: Sat, 19 Jan 2019 00:12:39 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 11:28:56 -0300 perf tool

[tip:perf/urgent] perf script: Fix crash when processing recorded stat data

2019-01-22 Thread tip-bot for Tony Jones
Commit-ID: 8bf8c6da53c2265aea365a1de6038f118f522113 Gitweb: https://git.kernel.org/tip/8bf8c6da53c2265aea365a1de6038f118f522113 Author: Tony Jones AuthorDate: Sun, 20 Jan 2019 11:14:14 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 11:29:07 -0300 perf script: Fi

RE: [PATCH v3] pinctrl: freescale: fix link errors

2019-01-22 Thread Aisheng Dong
> From: Anders Roxell [mailto:anders.rox...@linaro.org] > Sent: Tuesday, January 22, 2019 4:38 PM > > Subject: [PATCH v3] pinctrl: freescale: fix link errors Please change to: pinctrl: imx: fix scu link errors > Fix link errors when PINCTRL_IMX_SCU, PINCTRL_IMX8QM or > PINCTRL_IMXBQXP is enabled

Re: [PATCH v3 0/4] Add NXP AUDMIX device and machine drivers

2019-01-22 Thread Viorel Suman
Hi Rob, On Lu, 2019-01-21 at 09:23 -0600, Rob Herring wrote: > On Fri, Jan 18, 2019 at 11:46:42AM -0800, Nicolin Chen wrote: > > > > On Fri, Jan 18, 2019 at 01:16:24PM +, Viorel Suman wrote: > > > > > > > > > > > > > > > > > 1. Moved "dais" node from machine driver DTS node to device > > >

Re: [PATCH 1/1] irqchip: gpcv2: make config option visible

2019-01-22 Thread Marc Zyngier
On Tue, 22 Jan 2019 11:04:48 +, Aisheng Dong wrote: > > > > > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > > Sent: Friday, January 18, 2019 6:10 PM > [...] > > >>> > > >>> config IMX_GPCV2 > > >>> - bool > > >>> + bool "i.MX GPCv2 IRQ chip" > > >>> + depends on ARCH

Re: linux-next: manual merge of the pidfd tree with the y2038 tree

2019-01-22 Thread Arnd Bergmann
On Tue, Jan 22, 2019 at 11:57 AM Christian Brauner wrote: > On Tue, Jan 22, 2019 at 11:48:12AM +0100, Arnd Bergmann wrote: > > Do you mean the asm-generic uapi header? In my current series, I do that: > > Yes. My idea was to only change pidfd_send_signal's entry to 424 and > leave the other ones

Re: proc.c:undefined reference to `strcmp'

2019-01-22 Thread Geert Uytterhoeven
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 > commit: 35004f2e55807a1a1491db24ab512dd2f7

Re: [Xen-devel] [PATCH v2] drm/xen-front: Make shmem backed display buffer coherent

2019-01-22 Thread Julien Grall
On 1/22/19 10:28 AM, Oleksandr Andrushchenko wrote: Hello, Julien! Hi, On 1/21/19 7:09 PM, Julien Grall wrote: Well, I didn't get the attributes of pages at the backend side, but IMO those do not matter in my use-case (for simplicity I am not using zero-copying at backend side): They are

Re: linux-next: manual merge of the pidfd tree with the y2038 tree

2019-01-22 Thread Christian Brauner
On Tue, Jan 22, 2019 at 12:42:44PM +0100, Arnd Bergmann wrote: > On Tue, Jan 22, 2019 at 11:57 AM Christian Brauner > wrote: > > On Tue, Jan 22, 2019 at 11:48:12AM +0100, Arnd Bergmann wrote: > > > > Do you mean the asm-generic uapi header? In my current series, I do that: > > > > Yes. My idea w

Re: [RFC PATCH v2 02/13] epoll: introduce user structures for polling from userspace

2019-01-22 Thread Roman Penyaev
On 2019-01-21 22:34, Linus Torvalds wrote: So I'm not entirely convinced, but I guess actual numbers and users might convince me otherwise. However, a quick comment: On Tue, Jan 22, 2019 at 9:15 AM Roman Penyaev wrote: +struct epoll_uitem { + __poll_t ready_events; + struct epoll

Re: [PATCH v3 3/9] platform/chrome: Add support for raw commands in debugfs

2019-01-22 Thread Enric Balletbo Serra
Hi Nick, Why not create a module_platform_driver for this? So you have a kernel module that you can load and unload for debug purposes instead of add/remove the functionality at build time. Missatge de Nick Crews del dia ds., 19 de gen. 2019 a les 1:18: > > From: Duncan Laurie > > Add a debugfs

Re: [PATCH 1/4] dt-binding: irq: imx-irqsteer: use irq number per channel instead of group number

2019-01-22 Thread Marc Zyngier
On Tue, 22 Jan 2019 10:56:42 +, Aisheng Dong wrote: > > > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > > Sent: Friday, January 18, 2019 6:12 PM > [...] > > >> From: Marc Zyngier [mailto:marc.zyng...@arm.com] > > >> Sent: Friday, January 18, 2019 5:39 PM On 18/01/2019 08:48, Lucas > > >>

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2019-01-22 Thread Russell King - ARM Linux admin
On Tue, Jan 22, 2019 at 08:36:03PM +0900, Sugaya, Taichi wrote: > Hi > > On 2018/12/04 22:32, Rob Herring wrote: > > On Tue, Dec 4, 2018 at 5:30 AM Sugaya, Taichi > > wrote: > > > > > > Hi > > > > > > On 2018/12/04 0:49, Rob Herring wrote: > > > > On Mon, Dec 3, 2018 at 1:42 AM Sugaya, Taichi >

Re: [PATCH v3 2/9] platform/chrome: Add new driver for Wilco EC

2019-01-22 Thread Enric Balletbo Serra
Hi Nick, I've two more comments, sorry to not tell you this before. After this solved the patch looks good to me, so, for next version and for my own reference, please add the following. Acked-for-chrome-platform-by: Enric Balletbo i Serra Missatge de Nick Crews del dia ds., 19 de gen. 2019 a

Re: [PATCH v5 07/17] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2019-01-22 Thread Jagan Teki
On Tue, Jan 22, 2019 at 4:41 PM Maxime Ripard wrote: > > On Fri, Jan 18, 2019 at 09:14:19PM +0530, Jagan Teki wrote: > > On Thu, Jan 17, 2019 at 10:02 AM Jagan Teki > > wrote: > > > > > > On Thu, Jan 17, 2019 at 12:48 AM Maxime Ripard > > > wrote: > > > > > > > > On Sun, Jan 13, 2019 at 01:07:4

Re: [PATCH] 8250_pci.c: Update NI specific devices class to multi serial

2019-01-22 Thread Heikki Krogerus
+Andy On Mon, Jan 14, 2019 at 10:10:05PM +0800, Guan Yung Tseng wrote: > Modified NI devices class to PCI_CLASS_COMMUNICATION_MULTISERIAL. > The reason of doing this is because all NI multi port serial cards > use PCI_CLASS_COMMUNICATION_OTHER class and thus fail the > serial_pci_is_class_communic

Re: [kbuild-all] arch/x86/include/asm/cmpxchg.h:245:2: error: 'asm' operand has impossible constraints

2019-01-22 Thread Borislav Petkov
On Tue, Jan 22, 2019 at 07:13:59PM +0800, Philip Li wrote: > thanks for the feedback, we will blacklist this. So may i understand based on > the thread at > https://lists.01.org/pipermail/kbuild-all/2018-December/056225.html, > this is gcc-4.9 problem? AFAICT, this triggers only on gcc-4.9, 32-bi

Re: [PATCH v2 2/5] tpm: ppi: rename TPM_PPI_REVISION_ID to TPM_PPI_REVISION_ID_1

2019-01-22 Thread Jarkko Sakkinen
On Thu, Jan 17, 2019 at 12:41:32PM -0500, Stefan Berger wrote: > TPM PPI 1.3 introduces a function revision 2 for some functions. So, > rename the existing TPM_PPI_REVISION_ID to TPM_PPI_REVISION_ID_1. > > Signed-off-by: Stefan Berger > Tested-by: David Safford Reviewed-by: Jarkko Sakkinen /J

[PATCH 1/2] ACPI: EC: Untangle boot EC setup

2019-01-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The checks in acpi_config_boot_ec() are mostly redundant in all of the cases when it is called and it is better to do them directly in its callers anyway, so do that and get rid of it. First, note that acpi_ec_ecdt_probe() is called when boot_ec is not set, so it doesn't

[PATCH 0/2] ACPI: EC: Simplify boot EC setup

2019-01-22 Thread Rafael J. Wysocki
Hi All, The setup of the boot EC is unnecessarily tangled now, so untangle it to make the code flow in there easier to follow. The only intentional functional impact of this series should be changes in messages printed to the kernel log. The patches are on top of https://patchwork.kernel.org/pat

[PATCH] input: keyboard: gpio-keys-polled: use input name from pdata if available

2019-01-22 Thread Enrico Weigelt, metux IT consult
Instead of hardcoding the input name to the driver name ('gpio-keys-polled'), allow the passing a name via platform data ('name' field was already present), but default to old behaviour in case of NULL. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/input/keyboard/gpio_keys_polled.c

[PATCH 1/2] ACPI: EC: Simplify boot EC checks in acpi_ec_add()

2019-01-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Consolidate boot EC checks in acpi_ec_add(), put the acpi_is_boot_ec() checks directly into it and drop the latter. No intentional functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/ec.c | 20 +--- 1 file changed, 5 insertions(+), 15

Re: [PATCH v2 4/5] tpm: ppi: Possibly show command parameter if TPM PPI 1.3 is used

2019-01-22 Thread Jarkko Sakkinen
On Thu, Jan 17, 2019 at 12:41:34PM -0500, Stefan Berger wrote: > TPM PPI 1.3 introduces an additional optional command parameter > that may be needed for some commands. Display the parameter if the > command requires such a parameter. Only command 23 needs one. > > The PPI request file will show o

[PATCH] .gitignore: add some missing excludes

2019-01-22 Thread Enrico Weigelt, metux IT consult
For now they're all catched by ".*", but some folks might remove that in order to add their own .config file. Signed-off-by: Enrico Weigelt, metux IT consult --- .gitignore | 6 ++ scripts/kconfig/.gitignore | 1 + 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.

Re: [PATCH v2 5/5] tpm: ppi: Enable submission of optional command parameter for PPI 1.3

2019-01-22 Thread Jarkko Sakkinen
On Thu, Jan 17, 2019 at 12:41:35PM -0500, Stefan Berger wrote: > This patch enables a user to specify the additional optional command > parameter by writing it into the request file: > ># echo "23 16" > request ># cat request >23 16 > > For backwards compatibility: > > If only 1 para

RE: [PATCH 4/4] irq: imx: irqsteer: add multi output interrupts support

2019-01-22 Thread Aisheng Dong
> From: Lucas Stach [mailto:l.st...@pengutronix.de] > Sent: Tuesday, January 22, 2019 6:59 PM > > Am Dienstag, den 22.01.2019, 10:39 + schrieb Aisheng Dong: > > > > > From: Lucas Stach [mailto:l.st...@pengutronix.de] > > > Sent: Friday, January 18, 2019 6:23 PM > > > > [...] > > > > > This has

Re: [PATCH 1/2] ACPI: EC: Simplify boot EC checks in acpi_ec_add()

2019-01-22 Thread Rafael J. Wysocki
On Tue, Jan 22, 2019 at 1:01 PM Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > Consolidate boot EC checks in acpi_ec_add(), put the acpi_is_boot_ec() > checks directly into it and drop the latter. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki This is the s

Re: [PATCH v2 5/5] tpm: ppi: Enable submission of optional command parameter for PPI 1.3

2019-01-22 Thread Jarkko Sakkinen
On Tue, Jan 22, 2019 at 02:01:59PM +0200, Jarkko Sakkinen wrote: > On Thu, Jan 17, 2019 at 12:41:35PM -0500, Stefan Berger wrote: > > This patch enables a user to specify the additional optional command > > parameter by writing it into the request file: > > > ># echo "23 16" > request > >#

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