Re: [PATCH 0/8] qcom: spmi/ssbi gpio: correct gpio hogging

2019-04-26 Thread Bjorn Andersson
On Tue 05 Mar 16:53 PST 2019, Brian Masney wrote: > Here are some patches that fix gpio hogging for all boards that use > spmi-gpio and ssbi-gpio. These depend on the following two patches > that were merged in 4.20-rc1: > > commit 149a96047237 ("pinctrl: qcom: spmi-gpio: fix gpio-hog related >

Re: [PATCH] arm64: dts: pms405: increase s3 max voltage

2019-04-26 Thread Bjorn Andersson
On Thu 25 Apr 05:18 PDT 2019, Niklas Cassel wrote: > The commit description should be: arm64: dts: qcom: qcs404-evb: > > (The s3 regulator node moved during upstreaming.) > > Andy/Bjorn, could you please fix this before applying? > Picked up with the subject change. Thanks, Bjorn > Kind

Re: [PATCH] arm64: dts: qcom: qcs404-evb: fix l3 min voltage

2019-04-26 Thread Bjorn Andersson
On Thu 25 Apr 05:34 PDT 2019, Niklas Cassel wrote: > The current l3 min voltage level is not supported by > the regulator (the voltage is not a multiple of the regulator step size), > so a driver requesting this exact voltage would fail, see discussion in: >

Re: [PATCH v3 3/3] arm64: dts: qcom: Add Lenovo Miix 630

2019-04-26 Thread Bjorn Andersson
On Mon 15 Apr 09:11 PDT 2019, Jeffrey Hugo wrote: > diff --git a/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi > b/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi [..] > + thermal-zones { > + battery-thermal { > + polling-delay-passive = <250>; > +

Re: [PATCHv1 0/2] qcom: pms405: adc fixes

2019-04-26 Thread Bjorn Andersson
On Wed 20 Mar 06:39 PDT 2019, Amit Kucheria wrote: > A couple of fixes to the adc node in PMS405 to get thermistors to work > correctly. > > Amit Kucheria (2): > arm64: dts: qcom: pms405: calibrate the VADC correctly > arm64: dts: qcom: pms405: Rename adc outputs as per schematics > Picked

[PATCH RFC] staging: fieldbus: anybus-s: use proper type for wait_for_completion_timeout

2019-04-26 Thread Nicholas Mc Guire
unreachable in the current code. Patch was compile-tested with. x86_64_defconfig + FIELDBUS_DEV=m, HMS_ANYBUSS_BUS=m (some unrelated sparse warnings (cast to restricted __be16)) Patch is against 5.1-rc6 (localversion-next is next-20190426) drivers/staging/fieldbus/anybuss/host.c | 7 +++ 1 file

Re: [PATCH v2 1/1] MAINTAINERS: fix typo in file name

2019-04-26 Thread Bjorn Andersson
On Fri 29 Mar 01:47 PDT 2019, Amit Kucheria wrote: > Commit e31f941cf977 ("MAINTAINERS: update list of qcom drivers") had a > typo in the filename, replace the underscore with dash. > > Fixes: e31f941cf977 ("MAINTAINERS: update list of qcom drivers") > Reported-by: Joe Perches > Signed-off-by:

Re: [RFC PATCH v2 00/17] Core scheduling v2

2019-04-26 Thread Aubrey Li
On Thu, Apr 25, 2019 at 5:55 PM Ingo Molnar wrote: > * Aubrey Li wrote: > > On Wed, Apr 24, 2019 at 10:00 PM Julien Desfossez > > wrote: > > > > > > On 24-Apr-2019 09:13:10 PM, Aubrey Li wrote: > > > > On Wed, Apr 24, 2019 at 12:18 AM Vineeth Remanan Pillai > > > > wrote: > > > > > > > > > >

[PATCH 4/4] serial: 8250-mtk: modify uart DMA rx

2019-04-26 Thread Long Cheng
Modify uart rx and complete for DMA. Signed-off-by: Long Cheng --- drivers/tty/serial/8250/8250_mtk.c | 53 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c index

[PATCH 1/4] dmaengine: mediatek: Add MediaTek UART APDMA support

2019-04-26 Thread Long Cheng
Add 8250 UART APDMA to support MediaTek UART. If MediaTek UART is enabled by SERIAL_8250_MT6577, and we can enable this driver to offload the UART device moving bytes. Signed-off-by: Long Cheng Signed-off-by: Sean Wang --- drivers/dma/mediatek/Kconfig | 11 +

Suggestion to the 100,000 Unemployed Persons in Singapore

2019-04-26 Thread Turritopsis Dohrnii Teo En Ming
Subject/Topic: Suggestion to the 100,000 Unemployed Persons in Singapore For Immediate World-Wide Release 26th April 2019 Singapore Time I would like to suggest the 100,000 unemployed persons in Singapore to apply for refugee status in developed countries outside of Singapore. I believe many or

[PATCH 3/4] dt-bindings: dma: uart: rename binding

2019-04-26 Thread Long Cheng
The filename matches mtk-uart-apdma.c. So using "mtk-uart-apdma.txt" should be better. And add some property. Signed-off-by: Long Cheng --- .../devicetree/bindings/dma/8250_mtk_dma.txt | 33 .../devicetree/bindings/dma/mtk-uart-apdma.txt | 55 2

[PATCH v12 0/4] add uart DMA function

2019-04-26 Thread Long Cheng
In Mediatek SOCs, the uart can support DMA function. Base on DMA engine formwork, we add the DMA code to support uart. And put the code under drivers/dma/mediatek. This series contains document bindings, Kconfig to control the function enable or not, device tree including interrupt and dma

[PATCH 2/4] arm: dts: mt2712: add uart APDMA to device tree

2019-04-26 Thread Long Cheng
1. add uart APDMA controller device node 2. add uart 0/1/2/3/4/5 DMA function Signed-off-by: Long Cheng --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 51 + 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi

[PATCH 2/5] kbuild: move Documentation to vmlinux-alldirs

2019-04-26 Thread Masahiro Yamada
A minor code cleanup. Signed-off-by: Masahiro Yamada --- Makefile | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 251ded5..334ef8a 100644 --- a/Makefile +++ b/Makefile @@ -988,8 +988,9 @@ vmlinux-dirs:= $(patsubst %/,%,$(filter %/,

[PATCH 5/5] samples: kobject: allow CONFIG_SAMPLE_KOBJECT to become y

2019-04-26 Thread Masahiro Yamada
This sample works well as builtin. Signed-off-by: Masahiro Yamada --- samples/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samples/Kconfig b/samples/Kconfig index b98a763..399ae53 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -20,8 +20,7 @@ config

[PATCH 4/5] samples: seccomp: turn CONFIG_SAMPLE_SECCOMP into a bool option

2019-04-26 Thread Masahiro Yamada
The prompt of CONFIG_SAMPLE_SECCOMP claims this is "loadable module only", which is invalid. samples/seccomp/ only contains host programs, so having it tristate is pointless. Signed-off-by: Masahiro Yamada --- samples/Kconfig | 4 ++-- samples/seccomp/Makefile | 2 +- 2 files

[PATCH 3/5] samples: guard sub-directories with CONFIG options

2019-04-26 Thread Masahiro Yamada
Do not descend to sub-directories when unneeded. I used subdir-$(CONFIG_...) for hidraw, seccomp, and statx because they only contain host programs. While we are here, let's add SPDX License tag, and sort the directories alphabetically. Signed-off-by: Masahiro Yamada --- samples/Makefile |

[PATCH 1/5] kbuild: move samples/ to KBUILD_VMLINUX_OBJS

2019-04-26 Thread Masahiro Yamada
Handle samples/ like the other top-level directories to simplify the Makefile. Include include/config/auto.conf earlier to evaluate drivers-$(CONFIG_SAMPLES). Signed-off-by: Masahiro Yamada --- Makefile | 18 -- samples/Makefile | 2 +- 2 files changed, 9

[PATCH] staging: greybus: use proper return type for wait_for_completion_timeout

2019-04-26 Thread Nicholas Mc Guire
(localversion-next is next-20190426) drivers/staging/greybus/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c index b3bffe9..ff18112 100644 --- a/drivers/staging/greybus/uart.c +++ b/drivers/staging/greybus

Re: [PATCH v3 1/3] clk: analogbits: add Wide-Range PLL library

2019-04-26 Thread Paul Walmsley
On Fri, 26 Apr 2019, Stephen Boyd wrote: > Quoting Paul Walmsley (2019-04-11 01:27:32) > > Add common library code for the Analog Bits Wide-Range PLL (WRPLL) IP > > block, as implemented in TSMC CLN28HPC. > > I haven't deeply reviewed at all, but I already get two problems when > compile testing

Re: [PATCH v4 4/5] dt-bindings: mtd: Add bindings for TI's AM654 HyperBus memory controller

2019-04-26 Thread Vignesh Raghavendra
On 27/04/19 1:50 AM, Rob Herring wrote: > On Tue, Apr 23, 2019 at 04:18:13PM +0530, Vignesh Raghavendra wrote: >> Add binding documentation for TI's HyperBus memory controller present on >> AM654 SoC. >> >> Signed-off-by: Vignesh Raghavendra >> --- >>

[PATCH RFC] staging: kpc2000: use int for wait_for_completion_interruptible

2019-04-26 Thread Nicholas Mc Guire
as coccicheck warning about usless casting) Patch is against 5.1-rc6 (localversion-next is next-20190426) drivers/staging/kpc2000/kpc_dma/fileops.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/staging/kpc2000/kpc_dma/fileops.c b/drivers/staging/kpc2000

Re: [RFC PATCH RESEND] i2c-piix4: Add Hygon Dhyana SMBus support

2019-04-26 Thread Pu Wen
On 2019/4/27 0:48, Jean Delvare wrote: On Fri, 2019-04-26 at 22:23 +0800, Pu Wen wrote: On 2019/4/26 17:38, Jean Delvare wrote: I would like you to also document the new supported chipset in drivers/i2c/busses/Kconfig and Documentation/i2c/busses/i2c-piix4 as well as in the header comment of

[PATCH AUTOSEL 5.0 04/79] ASoC: stm32: sai: fix iec958 controls indexation

2019-04-26 Thread Sasha Levin
From: Olivier Moysan [ Upstream commit 5f8a1000c3e630c3ac06f1d664eeaa755bce8823 ] Allow indexation of sai iec958 controls according to device id. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/stm/stm32_sai_sub.c | 7 --- 1 file

[PATCH AUTOSEL 5.0 05/79] ASoC: stm32: sai: fix exposed capabilities in spdif mode

2019-04-26 Thread Sasha Levin
From: Olivier Moysan [ Upstream commit b8468192971807c43a80d6e2c41f83141cb7b211 ] Change capabilities exposed in SAI S/PDIF mode, to match actually supported formats. In S/PDIF mode only 32 bits stereo is supported. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown Signed-off-by: Sasha

[PATCH AUTOSEL 5.0 12/79] ASoC: nau8810: fix the issue of widget with prefixed name

2019-04-26 Thread Sasha Levin
From: John Hsu [ Upstream commit 54d1cf78b0f4ba348a7c7fb8b7d0708d71b6cc8a ] The driver changes the stream name of DAC and ADC to avoid the issue of widget with prefixed name. When the machine adds prefixed name for codec, the stream name of DAI may not find the widgets. Signed-off-by: John Hsu

[PATCH AUTOSEL 5.0 07/79] ASoC:soc-pcm:fix a codec fixup issue in TDM case

2019-04-26 Thread Sasha Levin
From: Rander Wang [ Upstream commit 570f18b6a8d1f0e60e8caf30e66161b6438dcc91 ] On HDaudio platforms, if playback is started when capture is working, there is no audible output. This can be root-caused to the use of the rx|tx_mask to store an HDaudio stream tag. If capture is stared before

[PATCH AUTOSEL 5.0 08/79] ASoC:hdac_hda:use correct format to setup hda codec

2019-04-26 Thread Sasha Levin
From: Rander Wang [ Upstream commit 03d0aa4d4fddce4a5d865d819a4d98bfc3d451e6 ] The current implementation of the hdac_hda codec results in zero-valued samples on capture and noise with headset playback when SOF is used on platforms with an on-board HDaudio codec. This is root-caused to SOF

[PATCH AUTOSEL 5.0 09/79] ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform

2019-04-26 Thread Sasha Levin
From: Rander Wang [ Upstream commit c899df3e9b0bf7b76e642aed1a214582ea7012d5 ] If playback and capture are enabled concurrently, when the capture stops the output becomes inaudile. The playback application will become stuck and underrun after a timeout. This is caused by mistaken use of the

[PATCH AUTOSEL 5.0 06/79] ASoC: stm32: sai: fix race condition in irq handler

2019-04-26 Thread Sasha Levin
From: Olivier Moysan [ Upstream commit 26f98e82dd49b7c3cc5ef0edd882aa732a62b672 ] When snd_pcm_stop_xrun() is called in interrupt routine, substream context may have already been released. Add protection on substream context. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown

[PATCH AUTOSEL 5.0 13/79] ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate

2019-04-26 Thread Sasha Levin
From: Sylwester Nawrocki [ Upstream commit 2b13bee3884926cba22061efa75bd315e871de24 ] After commit fbeec965b8d1c ("ASoC: samsung: odroid: Fix 32000 sample rate handling") the audio root clock frequency is configured improperly for 44100 sample rate. Due to clock rate rounding it's 20070401 Hz

[PATCH AUTOSEL 5.0 14/79] ASoC: rt5682: Check JD status when system resume

2019-04-26 Thread Sasha Levin
From: Shuming Fan [ Upstream commit 4834d7070c85a5fb69637265dbbb05d13043280c ] The IRQ function may not work when system suspend. We remove snd_soc_dapm_force_enable_pin function call to make sure the bias off when idle and run into suspend/resume function. Signed-off-by: Shuming Fan

[PATCH AUTOSEL 5.0 11/79] ASoC: nau8824: fix the issue of the widget with prefix name

2019-04-26 Thread Sasha Levin
From: John Hsu [ Upstream commit 844a4a362dbec166b44d6b9b3dd45b08cb273703 ] The driver has two issues when machine add prefix name for codec. (1)The stream name of DAI can't find the AIF widgets. (2)The drivr can enable/disalbe the MICBIAS and SAR widgets. The patch will fix these issues

[PATCH AUTOSEL 5.0 16/79] ASoC: rt5682: recording has no sound after booting

2019-04-26 Thread Sasha Levin
From: Shuming Fan [ Upstream commit 1c5b6a27e432e4fe170a924c8b41012271496a4c ] If ASRC turns on, HW will use clk_dac as the reference clock whether recording or playback. Both of clk_dac and clk_adc should set proper clock while using ASRC. Signed-off-by: Shuming Fan Signed-off-by: Mark Brown

[PATCH AUTOSEL 5.0 10/79] ASoC: dpcm: prevent snd_soc_dpcm use after free

2019-04-26 Thread Sasha Levin
From: KaiChieh Chuang [ Upstream commit a9764869779081e8bf24da07ac040e8f3efcf13a ] The dpcm get from fe_clients/be_clients may be free before use Add a spin lock at snd_soc_card level, to protect the dpcm instance. The lock may be used in atomic context, so use spin lock. Use irq spin lock

[PATCH AUTOSEL 5.0 18/79] clk: meson-gxbb: round the vdec dividers to closest

2019-04-26 Thread Sasha Levin
From: Maxime Jourdan [ Upstream commit 9b70c697e87286ade406e6a02091757307dd4b7c ] We want the video decoder clocks to always round to closest. While the muxes are already using CLK_MUX_ROUND_CLOSEST, the corresponding CLK_DIVIDER_ROUND_CLOSEST was forgotten for the dividers. Fix this by adding

[PATCH AUTOSEL 5.0 21/79] ASoC: cs4270: Set auto-increment bit for register writes

2019-04-26 Thread Sasha Levin
From: Daniel Mack [ Upstream commit f0f2338a9cfaf71db895fa989ea7234e8a9b471d ] The CS4270 does not by default increment the register address on consecutive writes. During normal operation it doesn't matter as all register accesses are done individually. At resume time after suspend, however,

[PATCH AUTOSEL 5.0 30/79] ASoC: dpcm: skip missing substream while applying symmetry

2019-04-26 Thread Sasha Levin
From: Jerome Brunet [ Upstream commit 6246f283d5e02ac757bd8d9bacde8fdc54c4582d ] If for any reason, the backend does not have the requested substream (like capture on a playback only backend), the BE will be skipped in dpcm_be_dai_startup(). However, dpcm_apply_symmetry() does not skip those

[PATCH AUTOSEL 5.0 20/79] ASoC: stm32: dfsdm: fix debugfs warnings on entry creation

2019-04-26 Thread Sasha Levin
From: Olivier Moysan [ Upstream commit c47255b61129857b74b0d86eaf59335348be05e0 ] Register platform component with a prefix, to avoid warnings on debugfs entries creation, due to component name redundancy. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown Signed-off-by: Sasha Levin

[PATCH AUTOSEL 5.0 19/79] ASoC: stm32: dfsdm: manage multiple prepare

2019-04-26 Thread Sasha Levin
From: Olivier Moysan [ Upstream commit 19441e35a43b616ea6afad91ed0d9e77268d8f6a ] The DFSDM must be stopped when a new setting is applied. restart systematically DFSDM on multiple prepare calls, to apply changes. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown Signed-off-by: Sasha

[PATCH AUTOSEL 5.0 31/79] perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS

2019-04-26 Thread Sasha Levin
From: Stephane Eranian [ Upstream commit 583feb08e7f7ac9d533b446882eb3a54737a6dbb ] When an event is programmed with attr.wakeup_events=N (N>0), it means the caller is interested in getting a user level notification after N samples have been recorded in the kernel sampling buffer. With precise

[PATCH AUTOSEL 5.0 33/79] linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()

2019-04-26 Thread Sasha Levin
From: Jann Horn [ Upstream commit a0fe2c6479aab5723239b315ef1b552673f434a3 ] Use parentheses around uses of the argument in u64_to_user_ptr() to ensure that the cast doesn't apply to part of the argument. There are existing uses of the macro of the form u64_to_user_ptr(A + B) which expands

[PATCH AUTOSEL 5.0 37/79] ASoC: rockchip: pdm: fix regmap_ops hang issue

2019-04-26 Thread Sasha Levin
From: Sugar Zhang [ Upstream commit c85064435fe7a216ec0f0238ef2b8f7cd850a450 ] This is because set_fmt ops maybe called when PD is off, and in such case, regmap_ops will lead system hang. enale PD before doing regmap_ops. Signed-off-by: Sugar Zhang Signed-off-by: Mark Brown Signed-off-by:

[PATCH AUTOSEL 5.0 35/79] iov_iter: Fix build error without CONFIG_CRYPTO

2019-04-26 Thread Sasha Levin
From: YueHaibing [ Upstream commit 27fad74a5a77fe2e1f876db7bf27efcf2ec304b2 ] If CONFIG_CRYPTO is not set or set to m, gcc building warn this: lib/iov_iter.o: In function `hash_and_copy_to_iter': iov_iter.c:(.text+0x9129): undefined reference to `crypto_stats_get' iov_iter.c:(.text+0x9152):

[PATCH AUTOSEL 5.0 45/79] slab: fix a crash by reading /proc/slab_allocators

2019-04-26 Thread Sasha Levin
From: Qian Cai [ Upstream commit fcf88917dd435c6a4cb2830cb086ee58605a1d85 ] The commit 510ded33e075 ("slab: implement slab_root_caches list") changes the name of the list node within "struct kmem_cache" from "list" to "root_caches_node", but leaks_show() still use the "list" which causes a

[PATCH AUTOSEL 5.0 42/79] ASoC: cs35l35: Disable regulators on driver removal

2019-04-26 Thread Sasha Levin
From: Charles Keepax [ Upstream commit 47c4cc08cb5b34e93ab337b924c5ede77ca3c936 ] The chips main power supplies VA and VP are enabled during probe but then never disabled, this will cause warnings from the regulator framework on driver removal. Fix this by adding a remove callback and disabling

[PATCH AUTOSEL 5.0 43/79] objtool: Add rewind_stack_do_exit() to the noreturn list

2019-04-26 Thread Sasha Levin
From: Josh Poimboeuf [ Upstream commit 4fa5ecda2bf96be7464eb406df8aba9d89260227 ] This fixes the following warning seen on GCC 7.3: arch/x86/kernel/dumpstack.o: warning: objtool: oops_end() falls through to next function show_regs() Reported-by: kbuild test robot Signed-off-by: Josh

[PATCH AUTOSEL 5.0 49/79] RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove

2019-04-26 Thread Sasha Levin
From: Kamal Heib [ Upstream commit ea7a5c706fa49273cf6d1d9def053ecb50db2076 ] Make sure to free the DSR on pvrdma_pci_remove() to avoid the memory leak. Fixes: 29c8d9eba550 ("IB: Add vmw_pvrdma driver") Signed-off-by: Kamal Heib Acked-by: Adit Ranadive Signed-off-by: Jason Gunthorpe

[PATCH AUTOSEL 5.0 47/79] drm/sun4i: tcon top: Fix NULL/invalid pointer dereference in sun8i_tcon_top_un/bind

2019-04-26 Thread Sasha Levin
From: Ondrej Jirman [ Upstream commit 1a07a94b47b1f528f39c3e6187b5eaf02efe44ea ] There are two problems here: 1. Not all clk_data->hws[] need to be initialized, depending on various configured quirks. This leads to NULL ptr deref in clk_hw_unregister_gate() in sun8i_tcon_top_unbind() 2.

[PATCH AUTOSEL 5.0 50/79] RDMA/hns: Fix bug that caused srq creation to fail

2019-04-26 Thread Sasha Levin
From: Lijun Ou [ Upstream commit 4772e03d239484f3461e33c79d721c8ea03f7416 ] Due to the incorrect use of the seg and obj information, the position of the mtt is calculated incorrectly, and the free space of the page is not enough to store the entire mtt, resulting in access to the next page.

[PATCH AUTOSEL 5.0 48/79] virtio_pci: fix a NULL pointer reference in vp_del_vqs

2019-04-26 Thread Sasha Levin
From: Longpeng [ Upstream commit 6a8aae68c87349dbbcd46eac380bc43cdb98a13b ] If the msix_affinity_masks is alloced failed, then we'll try to free some resources in vp_free_vectors() that may access it directly. We met the following stack in our production: [ 29.296767] BUG: unable to handle

[PATCH AUTOSEL 5.0 52/79] KEYS: trusted: fix -Wvarags warning

2019-04-26 Thread Sasha Levin
From: "ndesaulni...@google.com" [ Upstream commit be24b37e22c20cbaa891971616784dd0f35211e8 ] Fixes the warning reported by Clang: security/keys/trusted.c:146:17: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]

[PATCH AUTOSEL 5.0 53/79] scsi: csiostor: fix missing data copy in csio_scsi_err_handler()

2019-04-26 Thread Sasha Levin
From: Varun Prakash [ Upstream commit 5c2442fd78998af60e13aba506d103f7f43f8701 ] If scsi cmd sglist is not suitable for DDP then csiostor driver uses preallocated buffers for DDP, because of this data copy is required from DDP buffer to scsi cmd sglist before calling ->scsi_done().

[PATCH AUTOSEL 5.0 57/79] drm/mediatek: remove flag CLK_SET_RATE_PARENT for MT2701 hdmi phy

2019-04-26 Thread Sasha Levin
From: Wangyan Wang [ Upstream commit 827abdd024207146822f66ba3ba74867135866b9 ] This is the first step to make MT2701 hdmi stable. The parent rate of hdmi phy had set by DPI driver. We should not set or change the parent rate of MT2701 hdmi phy, as a result we should remove the flags of

[PATCH AUTOSEL 5.0 60/79] Bluetooth: btusb: request wake pin with NOAUTOEN

2019-04-26 Thread Sasha Levin
From: Brian Norris [ Upstream commit 771acc7e4a6e5dba779cb1a7fd851a164bc81033 ] Badly-designed systems might have (for example) active-high wake pins that default to high (e.g., because of external pull ups) until they have an active firmware which starts driving it low. This can cause an

[PATCH AUTOSEL 5.0 68/79] clk: x86: Add system specific quirk to mark clocks as critical

2019-04-26 Thread Sasha Levin
From: David Müller [ Upstream commit 7c2e07130090ae001a97a6b65597830d6815e93e ] Since commit 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL"), the pmc_plt_clocks of the Bay Trail SoC are unconditionally gated off. Unfortunately this will break systems where these clocks are

[PATCH AUTOSEL 5.0 61/79] ASoC: Intel: kbl: fix wrong number of channels

2019-04-26 Thread Sasha Levin
From: Tzung-Bi Shih [ Upstream commit d6ba3f815bc5f3c4249d15c8bc5fbb012651b4a4 ] Fix wrong setting on number of channels. The context wants to set constraint to 2 channels instead of 4. Signed-off-by: Tzung-Bi Shih Acked-by: Pierre-Louis Bossart Signed-off-by: Mark Brown Signed-off-by:

[PATCH AUTOSEL 5.0 71/79] platform/x86: pmc_atom: Drop __initconst on dmi table

2019-04-26 Thread Sasha Levin
From: Stephen Boyd [ Upstream commit b995dcca7cf12f208cfd95fd9d5768dca7cccec7 ] It's used by probe and that isn't an init function. Drop this so that we don't get a section mismatch. Reported-by: kbuild test robot Cc: David Müller Cc: Hans de Goede Cc: Andy Shevchenko Fixes: 7c2e07130090

[PATCH AUTOSEL 4.19 02/53] ASoC: hdmi-codec: fix S/PDIF DAI

2019-04-26 Thread Sasha Levin
From: Russell King [ Upstream commit 2e95f984aae4cf0608d0ba2189c756f2bd50b44a ] When using the S/PDIF DAI, there is no requirement to call snd_soc_dai_set_fmt() as there is no DAI format definition that defines S/PDIF. In any case, S/PDIF does not have separate clocks, this is embedded into

[PATCH AUTOSEL 5.0 64/79] block, bfq: fix use after free in bfq_bfqq_expire

2019-04-26 Thread Sasha Levin
From: Paolo Valente [ Upstream commit eed47d19d9362bdd958e4ab56af480b9dbf6b2b6 ] The function bfq_bfqq_expire() invokes the function __bfq_bfqq_expire(), and the latter may free the in-service bfq-queue. If this happens, then no other instruction of bfq_bfqq_expire() must be executed, or a

[PATCH AUTOSEL 5.0 72/79] NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.

2019-04-26 Thread Sasha Levin
From: Tetsuo Handa [ Upstream commit 7c2bd9a39845bfb6d72ddb55ce737650271f6f96 ] syzbot is reporting uninitialized value at rpc_sockaddr2uaddr() [1]. This is because syzbot is setting AF_INET6 to "struct sockaddr_in"->sin_family (which is embedded into user-visible "struct nfs_mount_data"

[PATCH AUTOSEL 5.0 66/79] blk-mq: introduce blk_mq_complete_request_sync()

2019-04-26 Thread Sasha Levin
From: Ming Lei [ Upstream commit 1b8f21b74c3c9c82fce5a751d7aefb7cc0b8d33d ] In NVMe's error handler, follows the typical steps of tearing down hardware for recovering controller: 1) stop blk_mq hw queues 2) stop the real hw queues 3) cancel in-flight requests via

[PATCH AUTOSEL 5.0 69/79] nvme-fc: correct csn initialization and increments on error

2019-04-26 Thread Sasha Levin
From: James Smart [ Upstream commit 67f471b6ed3b09033c4ac77ea03f92afdb1989fe ] This patch fixes a long-standing bug that initialized the FC-NVME cmnd iu CSN value to 1. Early FC-NVME specs had the connection starting with CSN=1. By the time the spec reached approval, the language had changed to

[PATCH AUTOSEL 5.0 76/79] mm: make page ref count overflow check tighter and more explicit

2019-04-26 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit f958d7b528b1b40c44cfda5eabe2d82760d868c3 ] We have a VM_BUG_ON() to check that the page reference count doesn't underflow (or get close to overflow) by checking the sign of the count. That's all fine, but we actually want to allow people to use a "get

[PATCH AUTOSEL 5.0 75/79] iommu/amd: Set exclusion range correctly

2019-04-26 Thread Sasha Levin
From: Joerg Roedel [ Upstream commit 3c677d206210f53a4be972211066c0f1cd47fe12 ] The exlcusion range limit register needs to contain the base-address of the last page that is part of the range, as bits 0-11 of this register are treated as 0xfff by the hardware for comparisons. So correctly set

[PATCH AUTOSEL 4.19 24/53] perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS

2019-04-26 Thread Sasha Levin
From: Stephane Eranian [ Upstream commit 583feb08e7f7ac9d533b446882eb3a54737a6dbb ] When an event is programmed with attr.wakeup_events=N (N>0), it means the caller is interested in getting a user level notification after N samples have been recorded in the kernel sampling buffer. With precise

[PATCH AUTOSEL 4.19 09/53] ASoC: nau8810: fix the issue of widget with prefixed name

2019-04-26 Thread Sasha Levin
From: John Hsu [ Upstream commit 54d1cf78b0f4ba348a7c7fb8b7d0708d71b6cc8a ] The driver changes the stream name of DAC and ADC to avoid the issue of widget with prefixed name. When the machine adds prefixed name for codec, the stream name of DAI may not find the widgets. Signed-off-by: John Hsu

[PATCH AUTOSEL 4.19 19/53] IB/hfi1: Eliminate opcode tests on mr deref

2019-04-26 Thread Sasha Levin
From: Kaike Wan [ Upstream commit a8639a79e85c18c16c10089edd589c7948f19bbd ] When an old ack_queue entry is used to store an incoming request, it may need to clean up the old entry if it is still referencing the MR. Originally only RDMA READ request needed to reference MR on the responder side

[PATCH AUTOSEL 4.19 08/53] ASoC: nau8824: fix the issue of the widget with prefix name

2019-04-26 Thread Sasha Levin
From: John Hsu [ Upstream commit 844a4a362dbec166b44d6b9b3dd45b08cb273703 ] The driver has two issues when machine add prefix name for codec. (1)The stream name of DAI can't find the AIF widgets. (2)The drivr can enable/disalbe the MICBIAS and SAR widgets. The patch will fix these issues

[PATCH AUTOSEL 4.19 10/53] ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate

2019-04-26 Thread Sasha Levin
From: Sylwester Nawrocki [ Upstream commit 2b13bee3884926cba22061efa75bd315e871de24 ] After commit fbeec965b8d1c ("ASoC: samsung: odroid: Fix 32000 sample rate handling") the audio root clock frequency is configured improperly for 44100 sample rate. Due to clock rate rounding it's 20070401 Hz

[PATCH AUTOSEL 4.19 11/53] ASoC: rt5682: recording has no sound after booting

2019-04-26 Thread Sasha Levin
From: Shuming Fan [ Upstream commit 1c5b6a27e432e4fe170a924c8b41012271496a4c ] If ASRC turns on, HW will use clk_dac as the reference clock whether recording or playback. Both of clk_dac and clk_adc should set proper clock while using ASRC. Signed-off-by: Shuming Fan Signed-off-by: Mark Brown

[PATCH AUTOSEL 4.19 23/53] drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()

2019-04-26 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit 2d85978341e6a32e7443d9f28639da254d53f400 ] We don't want to overwrite "ret", it already holds the correct error code. The "regmap" variable might be a valid pointer as this point. Fixes: 8f83f26891e1 ("drm/mediatek: Add HDMI support") Signed-off-by: Dan

[PATCH AUTOSEL 4.19 13/53] clk: meson-gxbb: round the vdec dividers to closest

2019-04-26 Thread Sasha Levin
From: Maxime Jourdan [ Upstream commit 9b70c697e87286ade406e6a02091757307dd4b7c ] We want the video decoder clocks to always round to closest. While the muxes are already using CLK_MUX_ROUND_CLOSEST, the corresponding CLK_DIVIDER_ROUND_CLOSEST was forgotten for the dividers. Fix this by adding

[PATCH AUTOSEL 4.19 17/53] ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol

2019-04-26 Thread Sasha Levin
From: Pankaj Bharadiya [ Upstream commit cacea3a90e211f0c111975535508d446a4a928d2 ] w_text_param can be NULL and it is being dereferenced without checking. Add the missing sanity check to prevent NULL pointer dereference. Signed-off-by: Pankaj Bharadiya Acked-by: Pierre-Louis Bossart

[PATCH AUTOSEL 4.19 12/53] ASoC: wm_adsp: Add locking to wm_adsp2_bus_error

2019-04-26 Thread Sasha Levin
From: Charles Keepax [ Upstream commit a2225a6d155fcb247fe4c6d87f7c91807462966d ] Best to lock across handling the bus error to ensure the DSP doesn't change power state as we are reading the status registers. Signed-off-by: Charles Keepax Signed-off-by: Mark Brown Signed-off-by: Sasha Levin

[PATCH AUTOSEL 4.19 16/53] ASoC: cs4270: Set auto-increment bit for register writes

2019-04-26 Thread Sasha Levin
From: Daniel Mack [ Upstream commit f0f2338a9cfaf71db895fa989ea7234e8a9b471d ] The CS4270 does not by default increment the register address on consecutive writes. During normal operation it doesn't matter as all register accesses are done individually. At resume time after suspend, however,

[PATCH AUTOSEL 4.19 14/53] ASoC: stm32: dfsdm: manage multiple prepare

2019-04-26 Thread Sasha Levin
From: Olivier Moysan [ Upstream commit 19441e35a43b616ea6afad91ed0d9e77268d8f6a ] The DFSDM must be stopped when a new setting is applied. restart systematically DFSDM on multiple prepare calls, to apply changes. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown Signed-off-by: Sasha

[PATCH AUTOSEL 4.19 07/53] ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform

2019-04-26 Thread Sasha Levin
From: Rander Wang [ Upstream commit c899df3e9b0bf7b76e642aed1a214582ea7012d5 ] If playback and capture are enabled concurrently, when the capture stops the output becomes inaudile. The playback application will become stuck and underrun after a timeout. This is caused by mistaken use of the

[PATCH AUTOSEL 4.19 28/53] ASoC: rockchip: pdm: fix regmap_ops hang issue

2019-04-26 Thread Sasha Levin
From: Sugar Zhang [ Upstream commit c85064435fe7a216ec0f0238ef2b8f7cd850a450 ] This is because set_fmt ops maybe called when PD is off, and in such case, regmap_ops will lead system hang. enale PD before doing regmap_ops. Signed-off-by: Sugar Zhang Signed-off-by: Mark Brown Signed-off-by:

[PATCH AUTOSEL 4.19 26/53] linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()

2019-04-26 Thread Sasha Levin
From: Jann Horn [ Upstream commit a0fe2c6479aab5723239b315ef1b552673f434a3 ] Use parentheses around uses of the argument in u64_to_user_ptr() to ensure that the cast doesn't apply to part of the argument. There are existing uses of the macro of the form u64_to_user_ptr(A + B) which expands

[PATCH AUTOSEL 4.19 31/53] ASoC: cs35l35: Disable regulators on driver removal

2019-04-26 Thread Sasha Levin
From: Charles Keepax [ Upstream commit 47c4cc08cb5b34e93ab337b924c5ede77ca3c936 ] The chips main power supplies VA and VP are enabled during probe but then never disabled, this will cause warnings from the regulator framework on driver removal. Fix this by adding a remove callback and disabling

[PATCH AUTOSEL 4.19 20/53] IB/hfi1: Fix the allocation of RSM table

2019-04-26 Thread Sasha Levin
From: Kaike Wan [ Upstream commit d0294344470e6b52d097aa7369173f32d11f2f52 ] The receive side mapping (RSM) on hfi1 hardware is a special matching mechanism to direct an incoming packet to a given hardware receive context. It has 4 instances of matching capabilities (RSM0 - RSM3) that share the

[PATCH AUTOSEL 4.19 27/53] xtensa: fix initialization of pt_regs::syscall in start_thread

2019-04-26 Thread Sasha Levin
From: Max Filippov [ Upstream commit 2663147dc7465cb29040a05cc4286fdd839978b5 ] New pt_regs should indicate that there's no syscall, not that there's syscall #0. While at it wrap macro body in do/while and parenthesize macro arguments. Signed-off-by: Max Filippov Signed-off-by: Sasha Levin

[PATCH AUTOSEL 4.19 30/53] drm/amd/display: fix cursor black issue

2019-04-26 Thread Sasha Levin
From: tiancyin [ Upstream commit c1cefe115d1cdc460014483319d440b2f0d07c68 ] [Why] the member sdr_white_level of struct dc_cursor_attributes was not initialized, then the random value result that dcn10_set_cursor_sdr_white_level() set error hw_scale value 0x20D9(normal value is 0x3c00), this

[PATCH AUTOSEL 4.19 32/53] objtool: Add rewind_stack_do_exit() to the noreturn list

2019-04-26 Thread Sasha Levin
From: Josh Poimboeuf [ Upstream commit 4fa5ecda2bf96be7464eb406df8aba9d89260227 ] This fixes the following warning seen on GCC 7.3: arch/x86/kernel/dumpstack.o: warning: objtool: oops_end() falls through to next function show_regs() Reported-by: kbuild test robot Signed-off-by: Josh

[PATCH AUTOSEL 4.19 38/53] RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove

2019-04-26 Thread Sasha Levin
From: Kamal Heib [ Upstream commit ea7a5c706fa49273cf6d1d9def053ecb50db2076 ] Make sure to free the DSR on pvrdma_pci_remove() to avoid the memory leak. Fixes: 29c8d9eba550 ("IB: Add vmw_pvrdma driver") Signed-off-by: Kamal Heib Acked-by: Adit Ranadive Signed-off-by: Jason Gunthorpe

[PATCH AUTOSEL 4.19 49/53] perf/core: Fix perf_event_disable_inatomic() race

2019-04-26 Thread Sasha Levin
From: Peter Zijlstra [ Upstream commit 1d54ad944074010609562da5c89e4f5df2f4e5db ] Thomas-Mich Richter reported he triggered a WARN()ing from event_function_local() on his s390. The problem boils down to: CPU-A CPU-B perf_event_overflow()

[PATCH AUTOSEL 4.19 40/53] scsi: csiostor: fix missing data copy in csio_scsi_err_handler()

2019-04-26 Thread Sasha Levin
From: Varun Prakash [ Upstream commit 5c2442fd78998af60e13aba506d103f7f43f8701 ] If scsi cmd sglist is not suitable for DDP then csiostor driver uses preallocated buffers for DDP, because of this data copy is required from DDP buffer to scsi cmd sglist before calling ->scsi_done().

[PATCH AUTOSEL 4.19 48/53] NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.

2019-04-26 Thread Sasha Levin
From: Tetsuo Handa [ Upstream commit 7c2bd9a39845bfb6d72ddb55ce737650271f6f96 ] syzbot is reporting uninitialized value at rpc_sockaddr2uaddr() [1]. This is because syzbot is setting AF_INET6 to "struct sockaddr_in"->sin_family (which is embedded into user-visible "struct nfs_mount_data"

[PATCH AUTOSEL 4.19 44/53] virtio-blk: limit number of hw queues by nr_cpu_ids

2019-04-26 Thread Sasha Levin
From: Dongli Zhang [ Upstream commit bf348f9b78d413e75bb079462751a1d86b6de36c ] When tag_set->nr_maps is 1, the block layer limits the number of hw queues by nr_cpu_ids. No matter how many hw queues are used by virtio-blk, as it has (tag_set->nr_maps == 1), it can use at most nr_cpu_ids hw

[PATCH AUTOSEL 4.19 42/53] Bluetooth: btusb: request wake pin with NOAUTOEN

2019-04-26 Thread Sasha Levin
From: Brian Norris [ Upstream commit 771acc7e4a6e5dba779cb1a7fd851a164bc81033 ] Badly-designed systems might have (for example) active-high wake pins that default to high (e.g., because of external pull ups) until they have an active firmware which starts driving it low. This can cause an

[PATCH AUTOSEL 4.19 39/53] RDMA/hns: Fix bug that caused srq creation to fail

2019-04-26 Thread Sasha Levin
From: Lijun Ou [ Upstream commit 4772e03d239484f3461e33c79d721c8ea03f7416 ] Due to the incorrect use of the seg and obj information, the position of the mtt is calculated incorrectly, and the free space of the page is not enough to store the entire mtt, resulting in access to the next page.

[PATCH AUTOSEL 4.14 03/32] ASoC:soc-pcm:fix a codec fixup issue in TDM case

2019-04-26 Thread Sasha Levin
From: Rander Wang [ Upstream commit 570f18b6a8d1f0e60e8caf30e66161b6438dcc91 ] On HDaudio platforms, if playback is started when capture is working, there is no audible output. This can be root-caused to the use of the rx|tx_mask to store an HDaudio stream tag. If capture is stared before

[PATCH AUTOSEL 4.14 11/32] ASoC: tlv320aic32x4: Fix Common Pins

2019-04-26 Thread Sasha Levin
From: Annaliese McDermond [ Upstream commit c63adb28f6d913310430f14c69f0a2ea55eed0cc ] The common pins were mistakenly not added to the DAPM graph. Adding these pins will allow valid graphs to be created. Signed-off-by: Annaliese McDermond Signed-off-by: Mark Brown Signed-off-by: Sasha Levin

[PATCH AUTOSEL 4.14 01/32] ASoC: hdmi-codec: fix S/PDIF DAI

2019-04-26 Thread Sasha Levin
From: Russell King [ Upstream commit 2e95f984aae4cf0608d0ba2189c756f2bd50b44a ] When using the S/PDIF DAI, there is no requirement to call snd_soc_dai_set_fmt() as there is no DAI format definition that defines S/PDIF. In any case, S/PDIF does not have separate clocks, this is embedded into

[PATCH AUTOSEL 4.14 06/32] ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate

2019-04-26 Thread Sasha Levin
From: Sylwester Nawrocki [ Upstream commit 2b13bee3884926cba22061efa75bd315e871de24 ] After commit fbeec965b8d1c ("ASoC: samsung: odroid: Fix 32000 sample rate handling") the audio root clock frequency is configured improperly for 44100 sample rate. Due to clock rate rounding it's 20070401 Hz

[PATCH AUTOSEL 4.14 08/32] ASoC: cs4270: Set auto-increment bit for register writes

2019-04-26 Thread Sasha Levin
From: Daniel Mack [ Upstream commit f0f2338a9cfaf71db895fa989ea7234e8a9b471d ] The CS4270 does not by default increment the register address on consecutive writes. During normal operation it doesn't matter as all register accesses are done individually. At resume time after suspend, however,

[PATCH AUTOSEL 4.14 09/32] IB/hfi1: Eliminate opcode tests on mr deref

2019-04-26 Thread Sasha Levin
From: Kaike Wan [ Upstream commit a8639a79e85c18c16c10089edd589c7948f19bbd ] When an old ack_queue entry is used to store an incoming request, it may need to clean up the old entry if it is still referencing the MR. Originally only RDMA READ request needed to reference MR on the responder side

[PATCH AUTOSEL 4.14 05/32] ASoC: nau8810: fix the issue of widget with prefixed name

2019-04-26 Thread Sasha Levin
From: John Hsu [ Upstream commit 54d1cf78b0f4ba348a7c7fb8b7d0708d71b6cc8a ] The driver changes the stream name of DAC and ADC to avoid the issue of widget with prefixed name. When the machine adds prefixed name for codec, the stream name of DAI may not find the widgets. Signed-off-by: John Hsu

  1   2   3   4   5   6   7   8   9   >