This is the start of the stable review cycle for the 4.14.150 release.
There are 65 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Fri 18 Oct 2019 09:43:41 PM UTC.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.150-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.14.150-rc1
Dave Chinner <dchinner(a)redhat.com>
xfs: clear sb->s_fs_info on mount failure
Janakarajan Natarajan <Janakarajan.Natarajan(a)amd.com>
x86/asm: Fix MWAITX C-state hint value
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
tracing: Get trace_array reference for available_tracers files
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
ftrace: Get a reference counter for the trace_array on filter files
Srivatsa S. Bhat (VMware) <srivatsa(a)csail.mit.edu>
tracing/hwlat: Don't ignore outer-loop duration when calculating max_latency
Srivatsa S. Bhat (VMware) <srivatsa(a)csail.mit.edu>
tracing/hwlat: Report total time spent in all NMIs during the sample
Johan Hovold <johan(a)kernel.org>
media: stkwebcam: fix runtime PM after driver unbind
Al Viro <viro(a)zeniv.linux.org.uk>
Fix the locking in dcache_readdir() and friends
Paul Burton <paul.burton(a)mips.com>
MIPS: Disable Loongson MMI instructions for kernel build
Trond Myklebust <trondmy(a)gmail.com>
NFS: Fix O_DIRECT accounting of number of bytes read/written
Josef Bacik <josef(a)toxicpanda.com>
btrfs: fix incorrect updating of log root tree
Andreas Klinger <ak(a)it-klinger.de>
iio: adc: hx711: fix bug in sampling of data
Andreas Klinger <ak(a)it-klinger.de>
iio: hx711: add delay until DOUT is ready
Navid Emamdoost <navid.emamdoost(a)gmail.com>
Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc
Bartosz Golaszewski <bgolaszewski(a)baylibre.com>
gpiolib: don't clear FLAG_IS_OUT when emulating open-drain/open-source
Brian Norris <briannorris(a)chromium.org>
firmware: google: increment VPD key_len properly
Michal Hocko <mhocko(a)suse.com>
kernel/sysctl.c: do not override max_threads provided by userspace
Pavel Shilovsky <piastryyy(a)gmail.com>
CIFS: Force reval dentry if LOOKUP_REVAL flag is set
Pavel Shilovsky <piastryyy(a)gmail.com>
CIFS: Force revalidate inode when dentry is stale
Pavel Shilovsky <piastryyy(a)gmail.com>
CIFS: Gracefully handle QueryInfo errors during open
Steve MacLean <Steve.MacLean(a)microsoft.com>
perf inject jit: Fix JIT_CODE_MOVE filename
Ian Rogers <irogers(a)google.com>
perf llvm: Don't access out-of-scope array
Ard Biesheuvel <ard.biesheuvel(a)linaro.org>
efivar/ssdt: Don't iterate over EFI vars if no SSDT override was specified
David Frey <dpfrey(a)gmail.com>
iio: light: opt3001: fix mutex unlock race
Hans de Goede <hdegoede(a)redhat.com>
iio: adc: axp288: Override TS pin bias current for some models
Marco Felsch <m.felsch(a)pengutronix.de>
iio: adc: ad799x: fix probe error handling
Navid Emamdoost <navid.emamdoost(a)gmail.com>
staging: vt6655: Fix memory leak in vt6655_probe
Johan Hovold <johan(a)kernel.org>
USB: legousbtower: fix use-after-free on release
Johan Hovold <johan(a)kernel.org>
USB: legousbtower: fix open after failed reset request
Johan Hovold <johan(a)kernel.org>
USB: legousbtower: fix potential NULL-deref on disconnect
Johan Hovold <johan(a)kernel.org>
USB: legousbtower: fix deadlock on disconnect
Johan Hovold <johan(a)kernel.org>
USB: legousbtower: fix slab info leak at probe
Yoshihiro Shimoda <yoshihiro.shimoda.uh(a)renesas.com>
usb: renesas_usbhs: gadget: Fix usb_ep_set_{halt,wedge}() behavior
Yoshihiro Shimoda <yoshihiro.shimoda.uh(a)renesas.com>
usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}()
Jacky.Cao(a)sony.com <Jacky.Cao(a)sony.com>
USB: dummy-hcd: fix power budget for SuperSpeed mode
Johan Hovold <johan(a)kernel.org>
USB: microtek: fix info-leak at probe
Johan Hovold <johan(a)kernel.org>
USB: usblcd: fix I/O after disconnect
Johan Hovold <johan(a)kernel.org>
USB: serial: fix runtime PM after driver unbind
Reinhard Speyerer <rspmn(a)arcor.de>
USB: serial: option: add support for Cinterion CLS8 devices
Daniele Palmas <dnlplm(a)gmail.com>
USB: serial: option: add Telit FN980 compositions
Beni Mahler <beni.mahler(a)gmx.net>
USB: serial: ftdi_sio: add device IDs for Sienna and Echelon PL-20
Johan Hovold <johan(a)kernel.org>
USB: serial: keyspan: fix NULL-derefs on open() and write()
Randy Dunlap <rdunlap(a)infradead.org>
serial: uartlite: fix exit path null pointer
Johan Hovold <johan(a)kernel.org>
USB: ldusb: fix NULL-derefs on driver unbind
Johan Hovold <johan(a)kernel.org>
USB: chaoskey: fix use-after-free on release
Johan Hovold <johan(a)kernel.org>
USB: usblp: fix runtime PM after driver unbind
Johan Hovold <johan(a)kernel.org>
USB: iowarrior: fix use-after-free after driver unbind
Johan Hovold <johan(a)kernel.org>
USB: iowarrior: fix use-after-free on release
Johan Hovold <johan(a)kernel.org>
USB: iowarrior: fix use-after-free on disconnect
Johan Hovold <johan(a)kernel.org>
USB: adutux: fix use-after-free on release
Johan Hovold <johan(a)kernel.org>
USB: adutux: fix NULL-derefs on disconnect
Johan Hovold <johan(a)kernel.org>
USB: adutux: fix use-after-free on disconnect
Colin Ian King <colin.king(a)canonical.com>
USB: adutux: remove redundant variable minor
Kai-Heng Feng <kai.heng.feng(a)canonical.com>
xhci: Increase STS_SAVE timeout in xhci_suspend()
Rick Tseng <rtseng(a)nvidia.com>
usb: xhci: wait for CNR controller not ready bit in xhci resume
Jan Schmidt <jan(a)centricular.com>
xhci: Check all endpoints for LPM timeout
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: Prevent device initiated U1/U2 link pm if exit latency is too long
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: Fix false warning message about wrong bounce buffer write length
Johan Hovold <johan(a)kernel.org>
USB: usb-skeleton: fix NULL-deref on disconnect
Johan Hovold <johan(a)kernel.org>
USB: usb-skeleton: fix runtime PM after driver unbind
Johan Hovold <johan(a)kernel.org>
USB: yurex: fix NULL-derefs on disconnect
Alan Stern <stern(a)rowland.harvard.edu>
USB: yurex: Don't retry on unexpected errors
Bastien Nocera <hadess(a)hadess.net>
USB: rio500: Remove Rio 500 kernel driver
Icenowy Zheng <icenowy(a)aosc.io>
f2fs: use EINVAL for superblock with invalid magic
Will Deacon <will(a)kernel.org>
panic: ensure preemption is disabled during panic()
-------------
Diffstat:
Documentation/usb/rio.txt | 138 --------
MAINTAINERS | 7 -
Makefile | 4 +-
arch/arm/configs/badge4_defconfig | 1 -
arch/arm/configs/corgi_defconfig | 1 -
arch/arm/configs/pxa_defconfig | 1 -
arch/arm/configs/s3c2410_defconfig | 1 -
arch/arm/configs/spitz_defconfig | 1 -
arch/mips/configs/mtx1_defconfig | 1 -
arch/mips/configs/rm200_defconfig | 1 -
arch/mips/loongson64/Platform | 4 +
arch/mips/vdso/Makefile | 1 +
arch/x86/include/asm/mwait.h | 2 +-
arch/x86/lib/delay.c | 4 +-
drivers/firmware/efi/efi.c | 3 +
drivers/firmware/google/vpd_decode.c | 2 +-
drivers/gpio/gpiolib.c | 27 +-
drivers/iio/adc/ad799x.c | 4 +-
drivers/iio/adc/axp288_adc.c | 32 ++
drivers/iio/adc/hx711.c | 49 ++-
drivers/iio/light/opt3001.c | 6 +-
drivers/media/usb/stkwebcam/stk-webcam.c | 3 +-
drivers/staging/fbtft/fbtft-core.c | 7 +-
drivers/staging/vt6655/device_main.c | 4 +-
drivers/tty/serial/uartlite.c | 3 +-
drivers/usb/class/usblp.c | 8 +-
drivers/usb/gadget/udc/dummy_hcd.c | 3 +-
drivers/usb/host/xhci-ring.c | 4 +-
drivers/usb/host/xhci.c | 32 +-
drivers/usb/image/microtek.c | 4 +
drivers/usb/misc/Kconfig | 10 -
drivers/usb/misc/Makefile | 1 -
drivers/usb/misc/adutux.c | 26 +-
drivers/usb/misc/chaoskey.c | 5 +-
drivers/usb/misc/iowarrior.c | 16 +-
drivers/usb/misc/ldusb.c | 24 +-
drivers/usb/misc/legousbtower.c | 58 ++--
drivers/usb/misc/rio500.c | 574 -------------------------------
drivers/usb/misc/rio500_usb.h | 37 --
drivers/usb/misc/usblcd.c | 33 +-
drivers/usb/misc/yurex.c | 18 +-
drivers/usb/renesas_usbhs/common.h | 1 +
drivers/usb/renesas_usbhs/fifo.c | 2 +-
drivers/usb/renesas_usbhs/fifo.h | 1 +
drivers/usb/renesas_usbhs/mod_gadget.c | 18 +-
drivers/usb/renesas_usbhs/pipe.c | 15 +
drivers/usb/renesas_usbhs/pipe.h | 1 +
drivers/usb/serial/ftdi_sio.c | 3 +
drivers/usb/serial/ftdi_sio_ids.h | 9 +
drivers/usb/serial/keyspan.c | 4 +-
drivers/usb/serial/option.c | 11 +
drivers/usb/serial/usb-serial.c | 5 +-
drivers/usb/usb-skeleton.c | 15 +-
fs/btrfs/tree-log.c | 36 +-
fs/cifs/dir.c | 8 +-
fs/cifs/file.c | 6 +
fs/cifs/inode.c | 4 +
fs/f2fs/super.c | 36 +-
fs/libfs.c | 134 ++++----
fs/nfs/direct.c | 78 +++--
fs/xfs/xfs_super.c | 10 +
kernel/fork.c | 4 +-
kernel/panic.c | 1 +
kernel/trace/ftrace.c | 27 +-
kernel/trace/trace.c | 17 +-
kernel/trace/trace_hwlat.c | 4 +-
tools/perf/util/jitdump.c | 6 +-
tools/perf/util/llvm-utils.c | 6 +-
68 files changed, 567 insertions(+), 1055 deletions(-)
> On 17/10/2019 01:23, Greg Kroah-Hartman wrote:
> > On Wed, Oct 16, 2019 at 11:35:18PM +0100, Mark Brown wrote:
> >> On Wed, Oct 16, 2019 at 03:10:25PM -0700, Greg Kroah-Hartman wrote:
> >>> On Wed, Oct 16, 2019 at 11:00:44PM +0100, Mark Brown wrote:
> >>>> On Wed, Oct 16, 2019 at 02:51:44PM -0700, Greg Kroah-Hartman wrote:
> >>>>> From: Oleksandr Suvorov <oleksandr.suvorov(a)toradex.com>
> >>
> >>>>> commit 694b14554d75f2a1ae111202e71860d58b434a21 upstream.
> >>
> >>>>> This control mute/unmute the ADC input of SGTL5000
> >>>>> using its CHIP_ANA_CTRL register.
> >>
> >>>> This seems like a new feature and not an obvious candidate for stable?
> >>
> >>> there was a long email from Richard that said:
> >>> Upstream commit 631bc8f0134a ("ASoC: sgtl5000: Fix of unmute
> >>> outputs on probe"), which is e9f621efaebd in v5.3 replaced
> >>> snd_soc_component_write with snd_soc_component_update_bits and
> >>> therefore no longer cleared the MUTE_ADC flag. This caused the
> >>> ADC to stay muted and recording doesn't work any longer. This
> >>> patch fixes this problem by adding a Switch control for
> >>> MUTE_ADC.
> >>
> >>> That's why I took this. If this isn't true, I'll be glad to drop this.
> >>
> >> That's probably not an appropriate fix for stable - it's going to add a
> >> new control which users will need to manually set (or hope their
> >> userspace automatically figures out that it should set for them, more
> >> advanced userspaces like PulseAudio should) which isn't a drop in fix.
> >> You could either drop the backport that was done for zero cross or take
> >> a new patch that clears the MUTE_ADC flag (rather than punting to
> >> userspace to do so), or just be OK with what you've got at the minute
> >> which might be fine given the lack of user reports.
Mark, obviously this is not a NEW feature. This patch adds LOST
standard control.
Please look into other codecs:
$ grep -R 'SOC_SINGLE("Capture Switch"' sound/soc/
sound/soc/codecs/sgtl5000.c.orig: SOC_SINGLE("Capture Switch",
SGTL5000_CHIP_ANA_CTRL, 0, 1, 1),
sound/soc/codecs/wm9705.c: SOC_SINGLE("Capture Switch", AC97_REC_GAIN,
15, 1, 1),
sound/soc/codecs/wm9713.c:SOC_SINGLE("Capture Switch", AC97_CD, 15, 1, 1),
sound/soc/codecs/wm9712.c:SOC_SINGLE("Capture Switch", AC97_REC_GAIN, 15, 1, 1),
And even:
$ grep -R 'SOC_SINGLE(".*Capture Switch"' sound/soc/
sound/soc/codecs/lm49453.c: SOC_SINGLE("Port1 Capture Switch",
LM49453_P0_AUDIO_PORT1_BASIC_REG,
sound/soc/codecs/lm49453.c: SOC_SINGLE("Port2 Capture Switch",
LM49453_P0_AUDIO_PORT2_BASIC_REG,
sound/soc/codecs/sgtl5000.c.orig: SOC_SINGLE("Capture Switch",
SGTL5000_CHIP_ANA_CTRL, 0, 1, 1),
sound/soc/codecs/mc13783.c: SOC_SINGLE("Line in Capture Switch",
MC13783_AUDIO_RX1, 10, 1, 0),
sound/soc/codecs/ak4642.c: SOC_SINGLE("ALC Capture Switch", ALC_CTL1, 5, 1, 0),
sound/soc/codecs/adau1701.c: SOC_SINGLE("Master Capture Switch",
ADAU1701_DSPCTRL, 4, 1, 0),
sound/soc/codecs/alc5632.c: SOC_SINGLE("DMIC En Capture Switch",
sound/soc/codecs/alc5632.c: SOC_SINGLE("DMIC PreFilter Capture Switch",
sound/soc/codecs/wm9705.c: SOC_SINGLE("Capture Switch", AC97_REC_GAIN,
15, 1, 1),
sound/soc/codecs/adau1977.c: SOC_SINGLE("ADC" #x " Highpass-Filter
Capture Switch", \
sound/soc/codecs/adau1977.c: SOC_SINGLE("ADC" #x " DC Subtraction
Capture Switch", \
sound/soc/codecs/isabelle.c: SOC_SINGLE("ULATX12 Capture Switch",
ISABELLE_ULATX12_INTF_CFG_REG,
sound/soc/codecs/ad1980.c:SOC_SINGLE("PCM Capture Switch",
AC97_REC_GAIN, 15, 1, 1),
sound/soc/codecs/ad1980.c:SOC_SINGLE("Phone Capture Switch",
AC97_PHONE, 15, 1, 1),
sound/soc/codecs/wm8731.c:SOC_SINGLE("Mic Capture Switch",
WM8731_APANA, 1, 1, 1),
sound/soc/codecs/uda1380.c:/**/ SOC_SINGLE("ADC Capture Switch",
UDA1380_PGA, 15, 1, 1), /* MT_ADC */
sound/soc/codecs/wm9713.c:SOC_SINGLE("Capture Switch", AC97_CD, 15, 1, 1),
sound/soc/codecs/es8316.c: SOC_SINGLE("ALC Capture Switch",
ES8316_ADC_ALC1, 6, 1, 0),
sound/soc/codecs/sgtl5000.c: SOC_SINGLE("Capture Switch",
SGTL5000_CHIP_ANA_CTRL, 0, 1, 1),
sound/soc/codecs/tlv320aic31xx.c: SOC_SINGLE("ADC Capture Switch",
AIC31XX_ADCFGA, 7, 1, 1),
sound/soc/codecs/da7210.c: SOC_SINGLE("Aux2 Capture Switch",
DA7210_AUX2, 2, 1, 0),
sound/soc/codecs/wm9712.c:SOC_SINGLE("Capture Switch", AC97_REC_GAIN, 15, 1, 1),
git blame sound/soc/codecs/wm9705.c
...
927b0aea93bb3 (Ian Molton 2009-01-19 17:23:11 +0000 87)
SOC_SINGLE("Capture Switch", AC97_REC_GAIN, 15, 1, 1),
...
This control was added not later than 2009, so I doubt my patch could
break something in current user-land.
> >
> > Ok, I'll gladly go drop it, thanks!
>
> Mark, thanks for the clarification! I haven't thought of breaking
> anything with the backport as it worked fine for our application.
--
Best regards
Oleksandr Suvorov
Toradex AG
Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500
4800 (main line)
The OMAP36xx and AM/DM37x TRMs say that the maximum divider for DSS fclk
(in CM_CLKSEL_DSS) is 32. Experimentation shows that this is not
correct, and using divider of 32 breaks DSS with a flood or underflows
and sync losts. Dividers up to 31 seem to work fine.
There is another patch to the DT files to limit the divider correctly,
but as the DSS driver also needs to know the maximum divider to be able
to iteratively find good rates, we also need to do the fix in the DSS
driver.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen(a)ti.com>
Cc: Adam Ford <aford173(a)gmail.com>
Cc: stable(a)vger.kernel.org
---
drivers/gpu/drm/omapdrm/dss/dss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c
index e226324adb69..4bdd63b57100 100644
--- a/drivers/gpu/drm/omapdrm/dss/dss.c
+++ b/drivers/gpu/drm/omapdrm/dss/dss.c
@@ -1083,7 +1083,7 @@ static const struct dss_features omap34xx_dss_feats = {
static const struct dss_features omap3630_dss_feats = {
.model = DSS_MODEL_OMAP3,
- .fck_div_max = 32,
+ .fck_div_max = 31,
.fck_freq_max = 173000000,
.dss_fck_multiplier = 1,
.parent_clk_name = "dpll4_ck",
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki