Patch "qed: Reserve doorbell BAR space for present CPUs" has been added to the 4.9-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
qed: Reserve doorbell BAR space for present CPUs
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
qed-reserve-doorbell-bar-space-for-present-cpus.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu Oct 19 15:04:02 CEST 2017
From: Ram Amrani <[email protected]>
Date: Mon, 20 Feb 2017 22:43:33 +0200
Subject: qed: Reserve doorbell BAR space for present CPUs
From: Ram Amrani <[email protected]>
[ Upstream commit c2dedf8773e873474535bd4a158609b9eda5403d ]
Reserving doorbell BAR space according to the currently active CPUs may result in a bug if disabled CPUs are later enabled but no doorbell space was reserved for them.
--- drivers/net/ethernet/qlogic/qed/qed_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/qlogic/qed/qed_dev.c +1 -1
@@ -877,7 +877,7 @@ qed_hw_init_pf_doorbell_bar(struct qed_h/* Either EDPM is mandatory, or we are attempting to allocate a * WID per CPU. */ - n_cpus =num_active_cpus (); + n_cpus =num_present_cpus (); rc =qed_hw_init_dpi_size (p_hwfn, p_ptt, pwm_regsize, n_cpus); }
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/qed-reserve-doorbell-bar-space-for-present-cpus.patch queue-4.9/qed-read-queue-state-before-releasing-buffer.patch