All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] optee: fix OOM seen due to tee_shm_free()
@ 2021-02-25  9:06 ` Allen Pais
  0 siblings, 0 replies; 84+ messages in thread
From: Allen Pais @ 2021-02-25  9:06 UTC (permalink / raw)
  To: op-tee

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

From: Allen Pais <apais@linux.microsoft.com>

The following out of memory errors are seen on kexec reboot
from the optee core.
    
[    0.368428] tee_bnxt_fw optee-clnt0: tee_shm_alloc failed
[    0.368461] tee_bnxt_fw: probe of optee-clnt0 failed with error -22
    
tee_shm_release() is not invoked on dma shm buffer.
    
Implement .shutdown() in optee core as well as bnxt firmware driver
to handle the release of the buffers correctly.
    
More info:
https://github.com/OP-TEE/optee_os/issues/3637

v2:
  keep the .shutdown() method simple. [Jens Wiklander]

Allen Pais (2):
  optee: fix tee out of memory failure seen during kexec reboot
  firmware: tee_bnxt: implement shutdown method to handle kexec reboots

 drivers/firmware/broadcom/tee_bnxt_fw.c |  9 +++++++++
 drivers/tee/optee/core.c                | 20 ++++++++++++++++++++
 2 files changed, 29 insertions(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 84+ messages in thread
[parent not found: < <CAHUa44F5Ew6U80t7PPmV1J4KunXBm_izBxVrxg=x8azjBz0r9Q@mail.gmail.com>]
[parent not found: < <CAHUa44FyGOj5=Z80km_2T-avKiJpGVD8cWjTC3ZCX8csazP3rw@mail.gmail.com>]
[parent not found: < <CAHUa44EZprsEKbd_mzGhxQKQgu5XB5nLtREJh2j_9J3zPO4gNg@mail.gmail.com>]
[parent not found: < <CAHUa44HTYcPyK95E+Mo2GNnCB9TfstA-n_4911JQh8V7-4vyjg@mail.gmail.com>]
[parent not found: < <CAHUa44G9qoqwou8et_EaQWF5SdHMuG+iXgpYmzLNHm-C7ETJKQ@mail.gmail.com>]
[parent not found: < <CAHUa44FHo2_EUzFzHnakkm3o7H-Nn+k4hgqT2WNFezZO6D8mxA@mail.gmail.com>]
[parent not found: < <CAHUa44F7AzRQ0ZUBtJV2Y39tk1mPGAbetn7i8-DVAsSFLbFgEg@mail.gmail.com>]
[parent not found: < <CAHUa44E-FqviciKZgqMm89J496E6Hb02rdFiZ3Pm-eWBFzO+Sg@mail.gmail.com>]

end of thread, other threads:[~2021-05-17 20:33 UTC | newest]

Thread overview: 84+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-25  9:06 [PATCH v2 0/2] optee: fix OOM seen due to tee_shm_free() Allen Pais
2021-02-25  9:06 ` Allen Pais
2021-02-25  9:06 ` Allen Pais
2021-02-25  9:06 ` [PATCH v2 1/2] optee: fix tee out of memory failure seen during kexec reboot Allen Pais
2021-02-25  9:06   ` Allen Pais
2021-02-25  9:06   ` Allen Pais
2021-03-01 14:35   ` Jens Wiklander
2021-03-01 14:35     ` Jens Wiklander
2021-03-01 14:35     ` Jens Wiklander
2021-03-18 20:51   ` Tyler Hicks
2021-03-18 20:51     ` Tyler Hicks
2021-03-18 20:51     ` Tyler Hicks
2021-02-25  9:06 ` [PATCH v2 2/2] firmware: tee_bnxt: implement shutdown method to handle kexec reboots Allen Pais
2021-02-25  9:06   ` Allen Pais
2021-02-25  9:06   ` Allen Pais
2021-03-18 20:55   ` Tyler Hicks
2021-03-18 20:55     ` Tyler Hicks
2021-03-18 20:55     ` Tyler Hicks
2021-05-07  3:58 ` [PATCH] optee: Disable shm cache when booting the crash kernel Tyler Hicks
2021-05-07  3:58   ` Tyler Hicks
2021-05-07  3:58   ` Tyler Hicks
2021-05-07  7:00   ` Allen Pais
2021-05-07  7:00     ` Allen Pais
2021-05-07  7:00     ` Allen Pais
2021-05-07  9:23     ` Jens Wiklander
2021-05-07  9:23       ` Jens Wiklander
2021-05-07  9:23       ` Jens Wiklander
2021-05-17 20:31   ` Tyler Hicks
2021-05-17 20:31     ` Tyler Hicks
2021-05-17 20:31     ` Tyler Hicks
     [not found] < <CAHUa44F5Ew6U80t7PPmV1J4KunXBm_izBxVrxg=x8azjBz0r9Q@mail.gmail.com>
2021-03-02  5:51 ` [PATCH v2 1/2] optee: fix tee out of memory failure seen during kexec reboot Allen Pais
2021-03-02  5:51   ` Allen Pais
2021-03-02  5:51   ` Allen Pais
2021-03-16 13:21 ` Allen Pais
2021-03-16 13:21   ` Allen Pais
2021-03-16 13:21   ` Allen Pais
2021-03-19  7:00   ` Jens Wiklander
2021-03-19  7:00     ` Jens Wiklander
2021-03-19  7:00     ` Jens Wiklander
     [not found] < <CAHUa44FyGOj5=Z80km_2T-avKiJpGVD8cWjTC3ZCX8csazP3rw@mail.gmail.com>
2021-03-22  7:59 ` Allen Pais
2021-03-22  7:59   ` Allen Pais
2021-03-22  7:59   ` Allen Pais
2021-05-05 13:45 ` Allen Pais
2021-05-05 13:45   ` Allen Pais
2021-05-05 13:45   ` Allen Pais
2021-05-06  7:02   ` Jens Wiklander
2021-05-06  7:02     ` Jens Wiklander
2021-05-06  7:02     ` Jens Wiklander
     [not found] < <CAHUa44EZprsEKbd_mzGhxQKQgu5XB5nLtREJh2j_9J3zPO4gNg@mail.gmail.com>
2021-05-06  7:10 ` Allen Pais
2021-05-06  7:10   ` Allen Pais
2021-05-06  7:10   ` Allen Pais
2021-05-06  7:19   ` Jens Wiklander
2021-05-06  7:19     ` Jens Wiklander
2021-05-06  7:19     ` Jens Wiklander
     [not found] < <CAHUa44HTYcPyK95E+Mo2GNnCB9TfstA-n_4911JQh8V7-4vyjg@mail.gmail.com>
2021-05-06  7:29 ` Allen Pais
2021-05-06  7:29   ` Allen Pais
2021-05-06  7:29   ` Allen Pais
2021-05-06  8:15   ` Jens Wiklander
2021-05-06  8:15     ` Jens Wiklander
2021-05-06  8:15     ` Jens Wiklander
     [not found] < <CAHUa44G9qoqwou8et_EaQWF5SdHMuG+iXgpYmzLNHm-C7ETJKQ@mail.gmail.com>
2021-05-06  8:35 ` Allen Pais
2021-05-06  8:35   ` Allen Pais
2021-05-06  8:35   ` Allen Pais
2021-05-07  7:03 ` Allen Pais
2021-05-07  7:03   ` Allen Pais
2021-05-07  7:03   ` Allen Pais
     [not found] < <CAHUa44FHo2_EUzFzHnakkm3o7H-Nn+k4hgqT2WNFezZO6D8mxA@mail.gmail.com>
2021-05-07  9:32 ` [PATCH] optee: Disable shm cache when booting the crash kernel Allen Pais
2021-05-07  9:32   ` Allen Pais
2021-05-07  9:32   ` Allen Pais
2021-05-07 13:17 ` Tyler Hicks
2021-05-07 13:17   ` Tyler Hicks
2021-05-07 13:17   ` Tyler Hicks
2021-05-10  7:31   ` Jens Wiklander
2021-05-10  7:31     ` Jens Wiklander
2021-05-10  7:31     ` Jens Wiklander
     [not found] < <CAHUa44F7AzRQ0ZUBtJV2Y39tk1mPGAbetn7i8-DVAsSFLbFgEg@mail.gmail.com>
2021-05-12  0:23 ` Tyler Hicks
2021-05-12  0:23   ` Tyler Hicks
2021-05-12  0:23   ` Tyler Hicks
2021-05-12  5:50   ` Jens Wiklander
2021-05-12  5:50     ` Jens Wiklander
2021-05-12  5:50     ` Jens Wiklander
     [not found] < <CAHUa44E-FqviciKZgqMm89J496E6Hb02rdFiZ3Pm-eWBFzO+Sg@mail.gmail.com>
2021-05-17 20:24 ` Tyler Hicks
2021-05-17 20:24   ` Tyler Hicks
2021-05-17 20:24   ` Tyler Hicks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.