Patch "ice: Remove useless DMA-32 fallback configuration" has been added to the 5.15-stable tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
Le 21/10/2023 à 02:23, Sasha Levin a écrit :
Quoted 7 lines
This is a note to let you know that I've just added the patch titled
ice: Remove useless DMA-32 fallback configuration
to the 5.15-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
Quoted 6 lines
The filename of the patch is:
ice-remove-useless-dma-32-fallback-configuration.patch
and it can be found in the queue-5.15 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Why is it needed for backport, it is only dead code.
Another patch depends on it?
Looking *quickly* in other patches at [1], I've not seen anything that conflicts.
CJ
Quoted 39 lines
commit
6f77725babf0559f90f19df76ff71f7807dff67fAuthor: Christophe JAILLET <[email protected]> Date: Sun Jan 9 19:25:05 2022 +0100ice: Remove useless DMA-32 fallback configuration
[ Upstream commit
9c3e54a632637f27d98fb0ec0c44f7039925809d]As stated in [1],
dma_set_mask()with a 64-bit mask never fails ifdev->dma_maskis non-NULL.
So, if it fails, the 32 bits case will also fail for the same reason.Simplify code and remove some dead code accordingly.
[1]: https://lkml.org/lkml/2021/6/7/398
Signed-off-by Christophe JAILLET <[email protected]>Reviewed-by Christoph Hellwig <[email protected]>Reviewed-by Alexander Lobakin <[email protected]>Tested-by Gurucharan G <[email protected]>Signed-off-by Tony Nguyen <[email protected]>Stable-dep-of:
0288c3e709e5("ice: reset first in crash dump kernels")Signed-off-by Sasha Levin <[email protected]>drivers/net/ethernet/intel/ice/ice_main.c +0
-2@@ -4292,8 +4292,6 @@ ice_probe(struct pci_dev *pdev, const struct pci_device_id __always_unused *ent)/* set up for high or low DMA */ err =dma_set_mask_and_coherent (dev,DMA_BIT_MASK (64 )); -if (err) - err =dma_set_mask_and_coherent (dev,DMA_BIT_MASK (32 ));if (err) {dev_err (dev,"DMA configuration failed: 0x%x\n" , err);return err;
Quoted 16 lines · Marion & Christophe JAILLET
Le 21/10/2023 à 02:23, Sasha Levin a écrit :
Quoted 7 lines
This is a note to let you know that I've just added the patch titled
ice: Remove useless DMA-32 fallback configuration
to the 5.15-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryQuoted 6 lines
The filename of the patch is:
ice-remove-useless-dma-32-fallback-configuration.patch
and it can be found in the queue-5.15 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 6 lines
Why is it needed for backport, it is only dead code.
Another patch depends on it?
Looking *quickly* in other patches at [1], I've not seen anything that conflicts.
Agreed, it seems the dependancy bot got things backwards, I'll go drop these now, thanks.
greg k-h