linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] tee subsys fixes for v5.4 (take two)
@ 2019-11-15 10:53 Jens Wiklander
  2019-11-16 23:40 ` Olof Johansson
  0 siblings, 1 reply; 5+ messages in thread
From: Jens Wiklander @ 2019-11-15 10:53 UTC (permalink / raw)
  To: arm, soc; +Cc: Linux Kernel Mailing List, Linux ARM

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(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] tee subsys fixes for v5.4 (take two)
  2019-11-15 10:53 [GIT PULL] tee subsys fixes for v5.4 (take two) Jens Wiklander
@ 2019-11-16 23:40 ` Olof Johansson
  2019-11-17 14:22   ` Jens Wiklander
  0 siblings, 1 reply; 5+ messages in thread
From: Olof Johansson @ 2019-11-16 23:40 UTC (permalink / raw)
  To: Jens Wiklander; +Cc: arm, soc, Linux Kernel Mailing List, Linux ARM

On Fri, Nov 15, 2019 at 11:53:53AM +0100, Jens Wiklander wrote:
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] tee subsys fixes for v5.4 (take two)
  2019-11-16 23:40 ` Olof Johansson
@ 2019-11-17 14:22   ` Jens Wiklander
  2019-12-06  9:57     ` Jens Wiklander
  0 siblings, 1 reply; 5+ messages in thread
From: Jens Wiklander @ 2019-11-17 14:22 UTC (permalink / raw)
  To: Olof Johansson; +Cc: arm-soc, soc, Linux Kernel Mailing List, Linux ARM

On Sun, Nov 17, 2019 at 12:45 AM Olof Johansson <olof@lixom.net> wrote:
>
> On Fri, Nov 15, 2019 at 11:53:53AM +0100, Jens Wiklander wrote:
> > 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.

I'm sorry, I thought -rc3 was old enough. I'll stick to -rc2 or older
in next time.

>
> 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

>
>
> -Olof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] tee subsys fixes for v5.4 (take two)
  2019-11-17 14:22   ` Jens Wiklander
@ 2019-12-06  9:57     ` Jens Wiklander
  2019-12-06 16:29       ` Olof Johansson
  0 siblings, 1 reply; 5+ messages in thread
From: Jens Wiklander @ 2019-12-06  9:57 UTC (permalink / raw)
  To: Olof Johansson; +Cc: arm-soc, soc, Linux Kernel Mailing List, Linux ARM

Hi Olof,

On Sun, Nov 17, 2019 at 3:22 PM Jens Wiklander
<jens.wiklander@linaro.org> wrote:
>
> On Sun, Nov 17, 2019 at 12:45 AM Olof Johansson <olof@lixom.net> wrote:
> >
> > On Fri, Nov 15, 2019 at 11:53:53AM +0100, Jens Wiklander wrote:
> > > 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.
>
> I'm sorry, I thought -rc3 was old enough. I'll stick to -rc2 or older
> in next time.
>
> >
> > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] tee subsys fixes for v5.4 (take two)
  2019-12-06  9:57     ` Jens Wiklander
@ 2019-12-06 16:29       ` Olof Johansson
  0 siblings, 0 replies; 5+ messages in thread
From: Olof Johansson @ 2019-12-06 16:29 UTC (permalink / raw)
  To: Jens Wiklander; +Cc: arm-soc, soc, Linux Kernel Mailing List, Linux ARM

On Fri, Dec 06, 2019 at 10:57:47AM +0100, Jens Wiklander wrote:
> Hi Olof,
> 
> On Sun, Nov 17, 2019 at 3:22 PM Jens Wiklander
> <jens.wiklander@linaro.org> wrote:
> >
> > On Sun, Nov 17, 2019 at 12:45 AM Olof Johansson <olof@lixom.net> wrote:
> > >
> > > On Fri, Nov 15, 2019 at 11:53:53AM +0100, Jens Wiklander wrote:
> > > > 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.
> >
> > I'm sorry, I thought -rc3 was old enough. I'll stick to -rc2 or older
> > in next time.
> >
> > >
> > > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-06 16:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-15 10:53 [GIT PULL] tee subsys fixes for v5.4 (take two) Jens Wiklander
2019-11-16 23:40 ` Olof Johansson
2019-11-17 14:22   ` Jens Wiklander
2019-12-06  9:57     ` Jens Wiklander
2019-12-06 16:29       ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).