tee subsys fixes for v5.4 (take two)
Hello arm-soc maintainers,
Please pull these OP-TEE driver fixes. There's one user-after-free issue if in the error handling path when the OP-TEE driver is initializing. There's also one fix to to register dynamically allocated shared memory needed by kernel clients communicating with secure world via memory references.
"tee: optee: Fix dynamic shm pool allocations" is now from version 2 which includes a fix up with a small but vital dependency.
If you think it's too late for v5.4 please queue this for v5.5 instead.
Thanks,
Jens
The following changes since commit 4f5cafb5cb8471e54afdc9054d973535614f7675:
Linux 5.4-rc3 (2019-10-13 16:37:36 -0700)
are available in the Git repository at:
git://git.linaro.org/people/jens.wiklander/linux-tee.git/ tags/tee-fixes-for-v5.4
for you to fetch changes up to 03212e347f9443e524d6383c6806ac08295c1fb0:
tee: optee: fix device enumeration error handling (2019-11-15 11:31:24 +0100)
----------------------------------------------------------------
Two OP-TE driver fixes:
- Add proper cleanup on optee_enumerate_devices() failure
- Make sure to register kernel allocations of dynamic shared memory
----------------------------------------------------------------
Jens Wiklander (1):
tee: optee: fix device enumeration error handling
Sumit Garg (1):
tee: optee: Fix dynamic shm pool allocations
drivers/tee/optee/call.c | 7 +++++++ drivers/tee/optee/core.c | 20 ++++++++++++-------- drivers/tee/optee/shm_pool.c | 12 +++++++++++- 3 files changed, 30 insertions(+), 9 deletions(-)
Quoted 11 lines · Jens Wiklander
Hello arm-soc maintainers,
Please pull these OP-TEE driver fixes. There's one user-after-free issue if in the error handling path when the OP-TEE driver is initializing. There's also one fix to to register dynamically allocated shared memory needed by kernel clients communicating with secure world via memory references.
"tee: optee: Fix dynamic shm pool allocations" is now from version 2 which includes a fix up with a small but vital dependency.
If you think it's too late for v5.4 please queue this for v5.5 instead.
Hi,
I noticed you based this on -rc3 -- all our other branches are on -rc2 or older.
Anyway, I brought this in to the fixes branch, it's the only thing we have queued up at this time so I'll give it a few days in -next before I send it in.
-Olof
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 12 lines · Olof Johansson
Quoted 10 lines · Jens Wiklander
Hello arm-soc maintainers,
Please pull these OP-TEE driver fixes. There's one user-after-free issue if in the error handling path when the OP-TEE driver is initializing. There's also one fix to to register dynamically allocated shared memory needed by kernel clients communicating with secure world via memory references.
"tee: optee: Fix dynamic shm pool allocations" is now from version 2 which includes a fix up with a small but vital dependency.
Quoted 6 lines
Quoted 1 line
If you think it's too late for v5.4 please queue this for v5.5 instead.
Hi,
I noticed you based this on -rc3 -- all our other branches are on -rc2 or older.
I'm sorry, I thought -rc3 was old enough. I'll stick to -rc2 or older in next time.
Quoted 3 lines
Anyway, I brought this in to the fixes branch, it's the only thing we have queued up at this time so I'll give it a few days in -next before I send it in.
Great.
Thanks,
Jens
Quoted 3 lines
-Olof
Hi Olof,
Quoted 16 lines · Jens Wiklander
Quoted 14 lines · Olof Johansson
Quoted 11 lines · Jens Wiklander
Hello arm-soc maintainers,
Please pull these OP-TEE driver fixes. There's one user-after-free issue if in the error handling path when the OP-TEE driver is initializing. There's also one fix to to register dynamically allocated shared memory needed by kernel clients communicating with secure world via memory references.
"tee: optee: Fix dynamic shm pool allocations" is now from version 2 which includes a fix up with a small but vital dependency.
If you think it's too late for v5.4 please queue this for v5.5 instead.
Quoted 11 lines
Quoted 4 lines
Hi,
I noticed you based this on -rc3 -- all our other branches are on -rc2 or older.
I'm sorry, I thought -rc3 was old enough. I'll stick to -rc2 or older in next time.
Quoted 3 lines
Anyway, I brought this in to the fixes branch, it's the only thing we have queued up at this time so I'll give it a few days in -next before I send it in.
It looks like the two patches in this pull request
(https://git.linaro.org/people/jens.wiklander/linux-tee.git/tag/?h=tee-fixes-for-v5.4)
are still in -next and haven't got any further. Is there anything wrong? Something I should fix?
Thanks,
Jens
Quoted 29 lines · Jens Wiklander
Hi Olof,
Quoted 25 lines · Jens Wiklander
Quoted 12 lines · Olof Johansson
Quoted 10 lines · Jens Wiklander
Hello arm-soc maintainers,
Please pull these OP-TEE driver fixes. There's one user-after-free issue if in the error handling path when the OP-TEE driver is initializing. There's also one fix to to register dynamically allocated shared memory needed by kernel clients communicating with secure world via memory references.
"tee: optee: Fix dynamic shm pool allocations" is now from version 2 which includes a fix up with a small but vital dependency.
Quoted 6 lines
Quoted 1 line
If you think it's too late for v5.4 please queue this for v5.5 instead.
Hi,
I noticed you based this on -rc3 -- all our other branches are on -rc2 or older.
I'm sorry, I thought -rc3 was old enough. I'll stick to -rc2 or older in next time.
Quoted 1 line
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Anyway, I brought this in to the fixes branch, it's the only thing we have queued up at this time so I'll give it a few days in -next before I send it in.
It looks like the two patches in this pull request
(https://git.linaro.org/people/jens.wiklander/linux-tee.git/tag/?h=tee-fixes-for-v5.4)
are still in -next and haven't got any further. Is there anything wrong? Something I should fix?
They were in our fixes branch and didn't go in yet, but will shortly.
-Olof