All of lore.kernel.org
 help / color / mirror / Atom feed
From: Muhammad Usama Anjum <usama.anjum@collabora.com>
To: "T.J. Mercier" <tjmercier@google.com>, Shuah Khan <shuah@kernel.org>
Cc: usama.anjum@collabora.com, daniel@ffwll.ch, tj@kernel.org,
	hridya@google.com, christian.koenig@amd.com, jstultz@google.com,
	tkjos@android.com, cmllamas@google.com, surenb@google.com,
	kaleshsingh@google.com, Kenny.Ho@amd.com, mkoutny@suse.com,
	skhan@linuxfoundation.org, kernel-team@android.com,
	linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH v7 6/6] selftests: Add binder cgroup gpu memory transfer tests
Date: Sat, 21 May 2022 15:15:03 +0500	[thread overview]
Message-ID: <0d63c264-520c-687d-7ac6-26cb3f119f0b@collabora.com> (raw)
In-Reply-To: <20220510235653.933868-7-tjmercier@google.com>

On 5/11/22 4:56 AM, T.J. Mercier wrote:
>  .../selftests/drivers/android/binder/Makefile |   8 +
>  .../drivers/android/binder/binder_util.c      | 250 +++++++++
>  .../drivers/android/binder/binder_util.h      |  32 ++
>  .../selftests/drivers/android/binder/config   |   4 +
>  .../binder/test_dmabuf_cgroup_transfer.c      | 526 ++++++++++++++++++
>  5 files changed, 820 insertions(+)
>  create mode 100644 tools/testing/selftests/drivers/android/binder/Makefile
>  create mode 100644 tools/testing/selftests/drivers/android/binder/binder_util.c
>  create mode 100644 tools/testing/selftests/drivers/android/binder/binder_util.h
>  create mode 100644 tools/testing/selftests/drivers/android/binder/config
>  create mode 100644 tools/testing/selftests/drivers/android/binder/test_dmabuf_cgroup_transfer.c
> 
> diff --git a/tools/testing/selftests/drivers/android/binder/Makefile b/tools/testing/selftests/drivers/android/binder/Makefile
> new file mode 100644
> index 000000000000..726439d10675
> --- /dev/null
> +++ b/tools/testing/selftests/drivers/android/binder/Makefile
> @@ -0,0 +1,8 @@
> +# SPDX-License-Identifier: GPL-2.0
> +CFLAGS += -Wall
Please add $(KHDR_INCLUDES) here to include the uapi header files from
the source tree.

> +
> +TEST_GEN_PROGS = test_dmabuf_cgroup_transfer
Please create a .gitignore file and add test_dmabuf_cgroup_transfer to it.

> +
> +include ../../../lib.mk
> +
> +$(OUTPUT)/test_dmabuf_cgroup_transfer: ../../../cgroup/cgroup_util.c binder_util.c

-- 
Muhammad Usama Anjum

  reply	other threads:[~2022-05-21 10:15 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10 23:56 [PATCH v7 0/6] Proposal for a GPU cgroup controller T.J. Mercier
2022-05-10 23:56 ` T.J. Mercier
2022-05-10 23:56 ` T.J. Mercier
2022-05-10 23:56 ` [PATCH v7 1/6] gpu: rfc: " T.J. Mercier
2022-05-10 23:56   ` T.J. Mercier
2022-05-10 23:56 ` [PATCH v7 2/6] cgroup: gpu: Add a cgroup controller for allocator attribution of GPU memory T.J. Mercier
2022-05-10 23:56   ` T.J. Mercier
2022-05-10 23:56 ` [PATCH v7 3/6] dmabuf: heaps: export system_heap buffers with GPU cgroup charging T.J. Mercier
2022-05-10 23:56   ` T.J. Mercier
2022-05-10 23:56 ` [PATCH v7 4/6] dmabuf: Add gpu cgroup charge transfer function T.J. Mercier
2022-05-10 23:56   ` T.J. Mercier
2022-05-10 23:56   ` T.J. Mercier
2022-05-10 23:56 ` [PATCH v7 5/6] binder: Add flags to relinquish ownership of fds T.J. Mercier
2022-05-10 23:56   ` T.J. Mercier
2022-05-10 23:56 ` [PATCH v7 6/6] selftests: Add binder cgroup gpu memory transfer tests T.J. Mercier
2022-05-21 10:15   ` Muhammad Usama Anjum [this message]
2022-05-11 13:21 ` [PATCH v7 0/6] Proposal for a GPU cgroup controller Nicolas Dufresne
2022-05-11 13:21   ` Nicolas Dufresne
2022-05-11 13:21   ` Nicolas Dufresne
2022-05-11 20:31   ` T.J. Mercier
2022-05-11 20:31     ` T.J. Mercier
2022-05-11 20:31     ` T.J. Mercier
2022-05-12 13:09     ` Nicolas Dufresne
2022-05-12 13:09       ` Nicolas Dufresne
2022-05-12 13:09       ` Nicolas Dufresne
2022-05-13  3:43       ` T.J. Mercier
2022-05-13  3:43         ` T.J. Mercier
2022-05-13  3:43         ` T.J. Mercier
2022-05-13 16:13         ` Tejun Heo
2022-05-13 16:13           ` Tejun Heo
2022-05-13 16:13           ` Tejun Heo
2022-05-17 23:30           ` T.J. Mercier
2022-05-17 23:30             ` T.J. Mercier
2022-05-17 23:30             ` T.J. Mercier
2022-05-20  7:47             ` Tejun Heo
2022-05-20  7:47               ` Tejun Heo
2022-05-20  7:47               ` Tejun Heo
2022-05-20 16:25               ` T.J. Mercier
2022-05-20 16:25                 ` T.J. Mercier
2022-05-20 16:25                 ` T.J. Mercier
2022-06-15 17:31                 ` T.J. Mercier
2022-06-15 17:31                   ` T.J. Mercier
2022-06-15 17:31                   ` T.J. Mercier
2022-06-24 20:17                   ` Daniel Vetter
2022-06-24 20:17                     ` Daniel Vetter
2022-06-24 20:17                     ` Daniel Vetter
     [not found]                     ` <YrYbwu0iIAJJGXVg-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2022-06-24 20:32                       ` John Stultz
2022-06-24 20:32                     ` John Stultz
2022-06-24 20:32                       ` John Stultz
2022-06-24 20:36                       ` Daniel Vetter
2022-06-24 20:36                         ` Daniel Vetter
2022-06-24 20:36                         ` Daniel Vetter
     [not found]                         ` <YrYgWCTtZqfvCt5D-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2022-06-24 21:17                           ` T.J. Mercier
2022-06-24 21:17                         ` T.J. Mercier
2022-06-24 21:17                           ` T.J. Mercier
2022-05-19  9:30 ` [PATCH v7 1/6] gpu: rfc: " eballetbo
2022-05-19  9:30   ` eballetbo
2022-05-19  9:30   ` eballetbo
2022-05-21  2:19   ` T.J. Mercier
2022-05-21  2:19     ` T.J. Mercier
2022-05-21  2:19     ` T.J. Mercier
2022-05-19 10:52 ` [PATCH v7 2/6] cgroup: gpu: Add a cgroup controller for allocator attribution of GPU memory eballetbo
2022-05-19 10:52   ` eballetbo
2022-05-19 10:52   ` eballetbo
2022-05-20 16:33   ` T.J. Mercier
2022-05-20 16:33     ` T.J. Mercier
2022-05-20 16:33     ` T.J. Mercier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0d63c264-520c-687d-7ac6-26cb3f119f0b@collabora.com \
    --to=usama.anjum@collabora.com \
    --cc=Kenny.Ho@amd.com \
    --cc=christian.koenig@amd.com \
    --cc=cmllamas@google.com \
    --cc=daniel@ffwll.ch \
    --cc=hridya@google.com \
    --cc=jstultz@google.com \
    --cc=kaleshsingh@google.com \
    --cc=kernel-team@android.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=mkoutny@suse.com \
    --cc=shuah@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=surenb@google.com \
    --cc=tj@kernel.org \
    --cc=tjmercier@google.com \
    --cc=tkjos@android.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.