This is the start of the stable review cycle for the 5.2.15 release.
There are 37 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 Sun 15 Sep 2019 01:03:32 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/v5.x/stable-review/patch-5.2.15-rc1…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.2.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.2.15-rc1
yongduan <yongduan(a)tencent.com>
vhost: make sure log_num < in_num
Michael S. Tsirkin <mst(a)redhat.com>
vhost: block speculation of translated descriptors
Filipe Manana <fdmanana(a)suse.com>
Btrfs: fix unwritten extent buffers and hangs on future writeback attempts
Lionel Landwerlin <lionel.g.landwerlin(a)intel.com>
drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT
John Harrison <John.C.Harrison(a)Intel.com>
drm/i915: Add whitelist workarounds for ICL
Lionel Landwerlin <lionel.g.landwerlin(a)intel.com>
drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT
John Harrison <John.C.Harrison(a)Intel.com>
drm/i915: Support whitelist workarounds on all engines
John Harrison <John.C.Harrison(a)Intel.com>
drm/i915: Support flags in whitlist WAs
Halil Pasic <pasic(a)linux.ibm.com>
virtio/s390: fix race on airq_areas[]
André Draszik <git(a)andred.net>
usb: chipidea: imx: fix EPROBE_DEFER support during driver probe
Peter Chen <peter.chen(a)nxp.com>
usb: chipidea: imx: add imx7ulp support
Baolin Wang <baolin.wang(a)linaro.org>
mmc: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming
Ville Syrjälä <ville.syrjala(a)linux.intel.com>
drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
Kenneth Graunke <kenneth(a)whitecape.org>
drm/i915: Disable SAMPLER_STATE prefetching on all Gen11 steppings.
Kaike Wan <kaike.wan(a)intel.com>
IB/hfi1: Unreserve a flushed OPFN request
Mike Marciniszyn <mike.marciniszyn(a)intel.com>
IB/{rdmavt, qib, hfi1}: Convert to new completion API
Mike Marciniszyn <mike.marciniszyn(a)intel.com>
IB/rdmavt: Add new completion inline
Coly Li <colyli(a)suse.de>
bcache: fix race in btree_flush_write()
Coly Li <colyli(a)suse.de>
bcache: add comments for mutex_lock(&b->write_lock)
Coly Li <colyli(a)suse.de>
bcache: only clear BTREE_NODE_dirty bit when it is set
Sven Eckelmann <sven(a)narfation.org>
batman-adv: Only read OGM tvlv_len after buffer len check
Eric Dumazet <edumazet(a)google.com>
batman-adv: fix uninit-value in batadv_netlink_get_ifindex()
Gustavo Romero <gromero(a)linux.ibm.com>
powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts
Gustavo Romero <gromero(a)linux.ibm.com>
powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction
Christophe Leroy <christophe.leroy(a)c-s.fr>
powerpc/64e: Drop stale call to smp_processor_id() which hangs SMP startup
Tiwei Bie <tiwei.bie(a)intel.com>
vhost/test: fix build for vhost test - again
Tiwei Bie <tiwei.bie(a)intel.com>
vhost/test: fix build for vhost test
Ben Skeggs <bskeggs(a)redhat.com>
drm/nouveau/sec2/gp102: add missing MODULE_FIRMWAREs
Dan Carpenter <dan.carpenter(a)oracle.com>
drm/vmwgfx: Fix double free in vmw_recv_msg()
Liangyan <liangyan.peng(a)linux.alibaba.com>
sched/fair: Don't assign runtime for throttled cfs_rq
Hui Wang <hui.wang(a)canonical.com>
ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
Jian-Hong Pan <jian-hong(a)endlessm.com>
ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL
Sam Bazley <sambazley(a)fastmail.com>
ALSA: hda/realtek - Add quirk for HP Pavilion 15
Takashi Iwai <tiwai(a)suse.de>
ALSA: hda/realtek - Fix overridden device-specific initialization
Takashi Iwai <tiwai(a)suse.de>
ALSA: hda - Fix potential endless loop at applying quirks
David Jander <david(a)protonic.nl>
gpio: pca953x: use pca953x_read_regs instead of regmap_bulk_read
David Jander <david(a)protonic.nl>
gpio: pca953x: correct type of reg_direction
-------------
Diffstat:
Makefile | 4 +-
arch/powerpc/kernel/process.c | 21 +---
arch/powerpc/mm/nohash/tlb.c | 1 -
drivers/gpio/gpio-pca953x.c | 15 +--
drivers/gpu/drm/i915/i915_reg.h | 7 ++
drivers/gpu/drm/i915/intel_cdclk.c | 11 ++
drivers/gpu/drm/i915/intel_workarounds.c | 136 +++++++++++++++++----
.../gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c | 12 ++
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 8 +-
drivers/infiniband/hw/hfi1/rc.c | 28 +----
drivers/infiniband/hw/qib/qib_rc.c | 26 +---
drivers/infiniband/sw/rdmavt/qp.c | 31 ++---
drivers/md/bcache/btree.c | 49 +++++++-
drivers/md/bcache/btree.h | 2 +
drivers/md/bcache/journal.c | 7 ++
drivers/mmc/host/sdhci-acpi.c | 2 +-
drivers/mmc/host/sdhci-esdhc-imx.c | 2 +-
drivers/mmc/host/sdhci-of-at91.c | 2 +-
drivers/mmc/host/sdhci-pci-core.c | 4 +-
drivers/mmc/host/sdhci-pxav3.c | 2 +-
drivers/mmc/host/sdhci-s3c.c | 2 +-
drivers/mmc/host/sdhci-sprd.c | 2 +-
drivers/mmc/host/sdhci-xenon.c | 2 +-
drivers/mmc/host/sdhci.c | 4 +-
drivers/mmc/host/sdhci.h | 2 +-
drivers/s390/virtio/virtio_ccw.c | 3 +
drivers/usb/chipidea/ci_hdrc_imx.c | 43 ++++++-
drivers/usb/chipidea/usbmisc_imx.c | 4 +
drivers/vhost/test.c | 13 +-
drivers/vhost/vhost.c | 10 +-
fs/btrfs/extent_io.c | 35 ++++--
include/linux/usb/chipidea.h | 1 +
include/rdma/rdmavt_qp.h | 117 +++++++++++-------
kernel/sched/fair.c | 5 +
net/batman-adv/bat_iv_ogm.c | 20 +--
net/batman-adv/netlink.c | 2 +-
sound/pci/hda/hda_auto_parser.c | 4 +-
sound/pci/hda/hda_generic.c | 3 +-
sound/pci/hda/hda_generic.h | 1 +
sound/pci/hda/patch_realtek.c | 17 +++
40 files changed, 439 insertions(+), 221 deletions(-)
Set the size of the tpm_buf correctly. Now it is set to the header
length by tpm_buf_init().
Reported-by: Mimi Zohar <zohar(a)linux.ibm.com>
Cc: stable(a)vger.kernel.org
Fixes: 412eb585587a ("use tpm_buf in tpm_transmit_cmd() as the IO parameter")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen(a)linux.intel.com>
---
drivers/char/tpm/tpm-interface.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/char/tpm/tpm-interface.c b/drivers/char/tpm/tpm-interface.c
index d9ace5480665..4aa7e7f91139 100644
--- a/drivers/char/tpm/tpm-interface.c
+++ b/drivers/char/tpm/tpm-interface.c
@@ -363,6 +363,8 @@ int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen)
goto out;
memcpy(buf.data, cmd, buflen);
+ buf.length = buflen;
+
rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to a send a command");
tpm_buf_destroy(&buf);
out:
--
2.20.1
>From Tegra186 onwards OUTSTANDING_REQUESTS field is added in channel
configuration register(bits 7:4) which defines the maximum number of reads
from the source and writes to the destination that may be outstanding at
any given point of time. This field must be programmed with a value
between 1 and 8. A value of 0 will prevent any transfers from happening.
Thus added 'has_outstanding_reqs' bool member in chip data structure and is
set to false for Tegra210, since the field is not applicable. For Tegra186
it is set to true and channel configuration is updated with maximum
outstanding requests.
Fixes: 433de642a76c ("dmaengine: tegra210-adma: add support for Tegra186/Tegra194")
Cc: stable(a)vger.kernel.org
Signed-off-by: Sameer Pujar <spujar(a)nvidia.com>
---
drivers/dma/tegra210-adma.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/dma/tegra210-adma.c b/drivers/dma/tegra210-adma.c
index 5f8adf5..e19732f 100644
--- a/drivers/dma/tegra210-adma.c
+++ b/drivers/dma/tegra210-adma.c
@@ -66,6 +66,8 @@
#define TEGRA186_FIFO_CTRL_DEFAULT (TEGRA186_ADMA_CH_FIFO_CTRL_TXSIZE(3) | \
TEGRA186_ADMA_CH_FIFO_CTRL_RXSIZE(3))
+#define TEGRA186_ADMA_CH_CONFIG_OUTSTANDING_REQS(reqs) (reqs << 4)
+
#define ADMA_CH_REG_FIELD_VAL(val, mask, shift) (((val) & mask) << shift)
struct tegra_adma;
@@ -77,6 +79,7 @@ struct tegra_adma;
* @ch_req_tx_shift: Register offset for AHUB transmit channel select.
* @ch_req_rx_shift: Register offset for AHUB receive channel select.
* @ch_base_offset: Register offset of DMA channel registers.
+ * @has_outstanding_reqs: If DMA channel can have outstanding requests.
* @ch_fifo_ctrl: Default value for channel FIFO CTRL register.
* @ch_req_mask: Mask for Tx or Rx channel select.
* @ch_req_max: Maximum number of Tx or Rx channels available.
@@ -95,6 +98,7 @@ struct tegra_adma_chip_data {
unsigned int ch_req_max;
unsigned int ch_reg_size;
unsigned int nr_channels;
+ bool has_outstanding_reqs;
};
/*
@@ -594,6 +598,8 @@ static int tegra_adma_set_xfer_params(struct tegra_adma_chan *tdc,
ADMA_CH_CTRL_FLOWCTRL_EN;
ch_regs->config |= cdata->adma_get_burst_config(burst_size);
ch_regs->config |= ADMA_CH_CONFIG_WEIGHT_FOR_WRR(1);
+ if (cdata->has_outstanding_reqs)
+ ch_regs->config |= TEGRA186_ADMA_CH_CONFIG_OUTSTANDING_REQS(8);
ch_regs->fifo_ctrl = cdata->ch_fifo_ctrl;
ch_regs->tc = desc->period_len & ADMA_CH_TC_COUNT_MASK;
@@ -778,6 +784,7 @@ static const struct tegra_adma_chip_data tegra210_chip_data = {
.ch_req_tx_shift = 28,
.ch_req_rx_shift = 24,
.ch_base_offset = 0,
+ .has_outstanding_reqs = false,
.ch_fifo_ctrl = TEGRA210_FIFO_CTRL_DEFAULT,
.ch_req_mask = 0xf,
.ch_req_max = 10,
@@ -792,6 +799,7 @@ static const struct tegra_adma_chip_data tegra186_chip_data = {
.ch_req_tx_shift = 27,
.ch_req_rx_shift = 22,
.ch_base_offset = 0x10000,
+ .has_outstanding_reqs = true,
.ch_fifo_ctrl = TEGRA186_FIFO_CTRL_DEFAULT,
.ch_req_mask = 0x1f,
.ch_req_max = 20,
--
2.7.4
This is the start of the stable review cycle for the 4.4.193 release.
There are 9 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 Sun 15 Sep 2019 01:03:32 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.4.193-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.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.4.193-rc1
yongduan <yongduan(a)tencent.com>
vhost: make sure log_num < in_num
Dave Jones <davej(a)codemonkey.org.uk>
af_packet: tone down the Tx-ring unsupported spew.
Zhenzhong Duan <zhenzhong.duan(a)oracle.com>
x86, boot: Remove multiple copy of static function sanitize_boot_params()
Nathan Chancellor <natechancellor(a)gmail.com>
clk: s2mps11: Add used attribute to s2mps11_dt_match
Nicolas Boichat <drinkcat(a)chromium.org>
scripts/decode_stacktrace: match basepath using shell prefix operator, not regex
Tiwei Bie <tiwei.bie(a)intel.com>
vhost/test: fix build for vhost test
Cong Wang <xiyou.wangcong(a)gmail.com>
xfrm: clean up xfrm protocol checks
Takashi Iwai <tiwai(a)suse.de>
ALSA: hda/realtek - Fix overridden device-specific initialization
Takashi Iwai <tiwai(a)suse.de>
ALSA: hda - Fix potential endless loop at applying quirks
-------------
Diffstat:
Makefile | 4 ++--
arch/x86/boot/compressed/misc.c | 1 +
arch/x86/boot/compressed/misc.h | 1 -
drivers/clk/clk-s2mps11.c | 2 +-
drivers/vhost/test.c | 13 +++++++++----
drivers/vhost/vhost.c | 4 ++--
include/net/xfrm.h | 17 +++++++++++++++++
net/key/af_key.c | 4 +++-
net/packet/af_packet.c | 2 +-
net/xfrm/xfrm_state.c | 2 +-
net/xfrm/xfrm_user.c | 14 +-------------
scripts/decode_stacktrace.sh | 2 +-
sound/pci/hda/hda_auto_parser.c | 4 ++--
sound/pci/hda/hda_generic.c | 3 ++-
sound/pci/hda/hda_generic.h | 1 +
sound/pci/hda/patch_realtek.c | 2 ++
16 files changed, 46 insertions(+), 30 deletions(-)