Skip to contentSkip to conversation

Please add patch "staging: android: ion: Set the length of the DMA sg entries in buffer" to 4.1 and 4.4 stable kernel

DISCUSSION Shawn Guo 2 participants 2 messages Apr 14, 2016 – Apr 18, 2016 Stable branch

lore
Share & tools
lore

Shawn Guo

author
#0 lore raw

Hi stable team,

This is the first time I request to add a patch that is already on upstream to stable kernel. I'm not sure if this is the correct procedure, but I'm following option 2 in stable_kernel_rules.txt to request add the following patch to 4.1 and 4.4 stable kernel.

commit 70bc916b2c80913753fb188d4daee50a64d21ba0 upstream.

We are seeing a problem on an ARM64 platform running Android 4.4 + Linux 4.1. A sanity check in GPU driver detects that the scatterlist created by ION driver does not have a valid dma_length, and hence refuses to work. And the requested patch fixes our problem.

Thanks,
Shawn

maintainer
#1 lore raw
Quoted 7 lines · Shawn Guo

Hi stable team,

This is the first time I request to add a patch that is already on upstream to stable kernel. I'm not sure if this is the correct procedure, but I'm following option 2 in stable_kernel_rules.txt to request add the following patch to 4.1 and 4.4 stable kernel.

Quoted 6 lines

commit 70bc916b2c80913753fb188d4daee50a64d21ba0 upstream.

We are seeing a problem on an ARM64 platform running Android 4.4 + Linux 4.1. A sanity check in GPU driver detects that the scatterlist created by ION driver does not have a valid dma_length, and hence refuses to work. And the requested patch fixes our problem.

Now applied to 4.4 and 4.5-stable trees, thanks.

greg k-h