This is the start of the stable review cycle for the 5.13.9 release.
There are 35 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, 08 Aug 2021 08:11:03 +0000.
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.13.9-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.13.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.13.9-rc1
Stylon Wang <stylon.wang(a)amd.com>
drm/amd/display: Fix ASSR regression on embedded panels
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "spi: mediatek: fix fifo rx mode"
Jens Axboe <axboe(a)kernel.dk>
io_uring: explicitly catch any illegal async queue attempt
Jens Axboe <axboe(a)kernel.dk>
io_uring: never attempt iopoll reissue from release path
Nicholas Kazlauskas <nicholas.kazlauskas(a)amd.com>
drm/amd/display: Fix max vstartup calculation for modes with borders
Victor Lu <victorchengchi.lu(a)amd.com>
drm/amd/display: Fix comparison error in dcn21 DML
Keith Busch <kbusch(a)kernel.org>
nvme: fix nvme_setup_command metadata trace event
Borislav Petkov <bp(a)suse.de>
efi/mokvar: Reserve the table only if it is in boot services data
Peter Ujfalusi <peter.ujfalusi(a)gmail.com>
ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
Peter Ujfalusi <peter.ujfalusi(a)gmail.com>
ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
Pravin B Shelar <pshelar(a)ovn.org>
net: Fix zero-copy head len calculation.
Oder Chiou <oder_chiou(a)realtek.com>
ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
Jia He <justin.he(a)arm.com>
qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
Takashi Iwai <tiwai(a)suse.de>
r8152: Fix a deadlock by doubly PM resume
Takashi Iwai <tiwai(a)suse.de>
r8152: Fix potential PM refcount imbalance
Axel Lin <axel.lin(a)ingics.com>
regulator: mtk-dvfsrc: Fix wrong dev pointer for devm_regulator_register
Kyle Russell <bkylerussell(a)gmail.com>
ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
Alain Volmat <alain.volmat(a)foss.st.com>
spi: stm32h7: fix full duplex irq handler handling
Axel Lin <axel.lin(a)ingics.com>
regulator: rt5033: Fix n_voltages settings for BUCK and LDO
ChiYuan Huang <cy_huang(a)richtek.com>
regulator: rtmv20: Fix wrong mask for strobe-polarity-high
Rander Wang <rander.wang(a)intel.com>
ASoC: Intel: boards: fix xrun issue on platform with max98373
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ASoC: Intel: boards: create sof-maxim-common module
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ASoC: Intel: boards: handle hda-dsp-common as a module
Vladimir Oltean <vladimir.oltean(a)nxp.com>
net: dsa: sja1105: fix address learning getting disabled on the CPU port
Vladimir Oltean <vladimir.oltean(a)nxp.com>
net: dsa: sja1105: parameterize the number of ports
Ronnie Sahlberg <lsahlber(a)redhat.com>
cifs: add missing parsing of backupuid
Ronnie Sahlberg <lsahlber(a)redhat.com>
cifs: use helpers when parsing uid/gid mount options and validate them
John Fastabend <john.fastabend(a)gmail.com>
bpf, sockmap: On cleanup we additionally need to remove cached skb
Cong Wang <cong.wang(a)bytedance.com>
skmsg: Pass source psock to sk_psock_skb_redirect()
Cong Wang <cong.wang(a)bytedance.com>
skmsg: Increase sk->sk_drops when dropping packets
Linus Walleij <linus.walleij(a)linaro.org>
power: supply: ab8500: Call battery population once
Jason Ekstrand <jason(a)jlekstrand.net>
Revert "drm/i915: Propagate errors on awaiting already signaled fences"
Jason Ekstrand <jason(a)jlekstrand.net>
drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
-------------
Diffstat:
Makefile | 4 +-
drivers/firmware/efi/mokvar-table.c | 5 +-
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 3 -
.../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 6 +-
.../amd/display/dc/dml/dcn21/display_mode_vba_21.c | 2 +-
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 227 ++-------------------
.../drm/i915/gem/selftests/i915_gem_execbuffer.c | 4 +
drivers/gpu/drm/i915/i915_cmd_parser.c | 118 +++++++----
drivers/gpu/drm/i915/i915_drv.h | 7 +-
drivers/gpu/drm/i915/i915_request.c | 8 +-
drivers/net/dsa/sja1105/sja1105_clocking.c | 3 +-
drivers/net/dsa/sja1105/sja1105_flower.c | 9 +-
drivers/net/dsa/sja1105/sja1105_main.c | 75 ++++---
drivers/net/dsa/sja1105/sja1105_spi.c | 4 +-
drivers/net/dsa/sja1105/sja1105_tas.c | 14 +-
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 23 ++-
drivers/net/usb/r8152.c | 30 ++-
drivers/nvme/host/trace.h | 6 +-
drivers/power/supply/ab8500_btemp.c | 7 -
drivers/power/supply/ab8500_fg.c | 6 -
drivers/power/supply/abx500_chargalg.c | 7 -
drivers/regulator/mtk-dvfsrc-regulator.c | 3 +-
drivers/regulator/rtmv20-regulator.c | 2 +-
drivers/spi/spi-mt65xx.c | 16 +-
drivers/spi/spi-stm32.c | 15 +-
drivers/watchdog/iTCO_wdt.c | 12 +-
fs/cifs/fs_context.c | 31 ++-
fs/cifs/fs_context.h | 1 +
fs/io-wq.c | 7 +-
fs/io_uring.c | 25 ++-
include/linux/mfd/rt5033-private.h | 4 +-
net/bluetooth/hci_core.c | 16 +-
net/core/skbuff.c | 5 +-
net/core/skmsg.c | 68 ++++--
sound/soc/codecs/rt5682.c | 8 +-
sound/soc/codecs/tlv320aic31xx.h | 4 +-
sound/soc/intel/boards/Kconfig | 18 ++
sound/soc/intel/boards/Makefile | 28 ++-
sound/soc/intel/boards/bxt_da7219_max98357a.c | 1 +
sound/soc/intel/boards/bxt_rt298.c | 1 +
sound/soc/intel/boards/cml_rt1011_rt5682.c | 1 +
sound/soc/intel/boards/ehl_rt5660.c | 1 +
sound/soc/intel/boards/glk_rt5682_max98357a.c | 1 +
sound/soc/intel/boards/hda_dsp_common.c | 5 +
sound/soc/intel/boards/skl_hda_dsp_generic.c | 1 +
sound/soc/intel/boards/sof_da7219_max98373.c | 1 +
sound/soc/intel/boards/sof_maxim_common.c | 24 ++-
sound/soc/intel/boards/sof_maxim_common.h | 6 +-
sound/soc/intel/boards/sof_pcm512x.c | 1 +
sound/soc/intel/boards/sof_rt5682.c | 6 +-
sound/soc/intel/boards/sof_sdw.c | 2 +
sound/soc/intel/boards/sof_sdw_max98373.c | 81 +++++---
sound/soc/ti/j721e-evm.c | 18 +-
53 files changed, 481 insertions(+), 500 deletions(-)
From: Tian Tao <tiantao6(a)hisilicon.com>
[ Upstream commit 7d614ab2f20503ed8766363d41f8607337571adf ]
fixed the below warning:
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c:84:2-8: WARNING: NULL check
before some freeing functions is not needed.
Signed-off-by: Tian Tao <tiantao6(a)hisilicon.com>
Acked-by: Christian König <christian.koenig(a)amd.com>
Signed-off-by: Lucas Stach <l.stach(a)pengutronix.de>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c b/drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c
index b390dd4d60b7..d741b1d735f7 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c
@@ -80,8 +80,7 @@ static void etnaviv_gem_prime_release(struct etnaviv_gem_object *etnaviv_obj)
/* Don't drop the pages for imported dmabuf, as they are not
* ours, just free the array we allocated:
*/
- if (etnaviv_obj->pages)
- kvfree(etnaviv_obj->pages);
+ kvfree(etnaviv_obj->pages);
drm_prime_gem_destroy(&etnaviv_obj->base, etnaviv_obj->sgt);
}
--
2.30.2
On 7/31/21 2:56 AM, gregkh(a)linuxfoundation.org wrote:
>
> This is a note to let you know that I've just added the patch titled
>
> Revert "ACPI: resources: Add checks for ACPI IRQ override"
>
> to the 5.13-stable tree which can be found at:
> http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
>
> The filename of the patch is:
> revert-acpi-resources-add-checks-for-acpi-irq-override.patch
> and it can be found in the queue-5.13 subdirectory.
>
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable(a)vger.kernel.org> know about it.
>
>
> From e0eef3690dc66b3ecc6e0f1267f332403eb22bea Mon Sep 17 00:00:00 2001
> From: Hui Wang <hui.wang(a)canonical.com>
> Date: Wed, 28 Jul 2021 23:19:58 +0800
> Subject: Revert "ACPI: resources: Add checks for ACPI IRQ override"
>
> From: Hui Wang <hui.wang(a)canonical.com>
>
> commit e0eef3690dc66b3ecc6e0f1267f332403eb22bea upstream.
Confirming that this^ revert resolves the reported non-boot regression
System does boot cleanly; but, then REboots @ 60 seconds.
It's a known bug, with fix already in 5.13.9/stable:
Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/…
, causing TCO watchdog auto-reboot @ 60 secs.
Although particularly nasty on servers with /boot on RAID, breaking arrays if watchdog boots before arrays correctly assembled, iiuc, it's UN-related
With interim workaround
edit /etc/modprobe.d/blacklist.conf
+ blacklist iTCO_wdt
+ blacklist iTCO_vendor_support
for this second issue in place, 5.13.8 boots & appears stable.
On Mon, Aug 09, 2021 at 05:52:17PM +0530, nelakurthi koteswararao wrote:
> Dear Greg,
>
> Thank you for your reply. I noticed most of the futex changes between
> 4.9.233 to 4.9.279 is related to Priority Inheritance that comes in
> to use in the Real time kernel. But I am using the 4.9.232 Normal Kernel.
I do not know what a "4.9.232 Normal Kernel" is.
> That's the reason I posted futex crash to the mailing list for input.
> is the race between futex_wait() thread and futex_wake() threads leading to
> NULL pointer crash? any input in that direction?
Again, please try the latest 4.9.y kernel release, we do not support
older releases for obvious reasons.
thanks,
greg k-h
The backport of c9d9fdbc108af8915d3f497bbdf3898bf8f321b8 to 5.10 in
6976f3cf34a1a8b791c048bbaa411ebfe48666b1 removed more than it should
have leading to 'batch' being used uninitialised. The 5.13 backport and
the mainline commit did not remove the portion this patch adds back.
Signed-off-by: Jonathan Gray <jsg(a)jsg.id.au>
Fixes: 6976f3cf34a1 ("drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"")
Cc: <stable(a)vger.kernel.org> # 5.10
Cc: Jason Ekstrand <jason(a)jlekstrand.net>
---
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
index e5ac0936a587..0c083af5a59d 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
@@ -2351,6 +2351,12 @@ static int eb_parse(struct i915_execbuffer *eb)
eb->batch_flags |= I915_DISPATCH_SECURE;
}
+ batch = eb_dispatch_secure(eb, shadow);
+ if (IS_ERR(batch)) {
+ err = PTR_ERR(batch);
+ goto err_trampoline;
+ }
+
err = intel_engine_cmd_parser(eb->engine,
eb->batch->vma,
eb->batch_start_offset,
@@ -2377,6 +2383,7 @@ static int eb_parse(struct i915_execbuffer *eb)
err_unpin_batch:
if (batch)
i915_vma_unpin(batch);
+err_trampoline:
if (trampoline)
i915_vma_unpin(trampoline);
err_shadow:
--
2.32.0
On Mon, Aug 09, 2021 at 04:44:13PM +0530, nelakurthi koteswararao wrote:
> Dear Stable kernel Contributors
>
> Observed Futex kernel crash while using navigation app in Broxton Device
> flashed with Normal 4.9.x kernel.
> Futex Crash details are given below.
> {{
> 1>[ 1383.591633] Time of kernel crash: (2021-02-16 12:04:19)
> <1>[ 1383.597480] BUG: unable to handle kernel NULL pointer dereference at
> (null)
> <1>[ 1383.606247] IP: [<ffffffffa211c271>] futex_wake+0xe1/0x180
> <4>[ 1383.612386] PGD 130f62067
> <4>[ 1383.615209] PUD 130f61067
> <4>[ 1383.618230] PMD 0
> <4>[ 1383.620275]
> <4>[ 1383.621926] Oops: 0000 [#1] PREEMPT SMP
> <4>[ 1383.626211] Modules linked in: bcmdhd(O) sxmio(C) rfkill_gpio
> cfg80211 ehset dwc3_pci dwc3 ishtp_tty_client dabridge camera_status mei_me
> anc_ipc igb_avb(O) mei xhci_pci xhci_hcd intel_ish_ipc intel_ishtp
> snd_soc_bxt_ivi_ull trusty_timer trusty_wall trusty_log trusty_virtio
> trusty_ipc dcsd_ts trusty_mem cyttsp6_i2c snd_soc_skl trusty
> snd_soc_skl_ipc snd_soc_sst_ipc cyttsp6_device_access snd_soc_sst_dsp
> snd_soc_sst_acpi virtio_ring snd_soc_sst_match snd_hda_ext_core
> cyttsp6_debug snd_hda_core dcsd_display virtio cyttsp6 [last unloaded:
> bcmdhd]
> <4>[ 1383.680139] CPU: 2 PID: 7292 Comm: Thread-48 Tainted: G U C O
> 4.9.232-quilt-2e5dc0ac-g33302ae #1
4.9.232 is quite old, it was released over a year ago. A large number
of futexes fixes has gone in since then, can you please update to the
latest 4.9.y release (4.9.279 as of today) and let us know if that
solves the issue or not?
thanks,
greg k-h