public inbox for linux-sgx@vger.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Sakkinen <jarkko@kernel.org>
To: Haitao Huang <haitao.huang@linux.intel.com>,
	Dave Hansen <dave.hansen@linux.intel.com>
Cc: linux-sgx@vger.kernel.org, reinette.chatre@intel.com,
	Borislav Petkov <bp@alien8.de>, Tony Luck <tony.luck@intel.com>
Subject: Re: [PATCH] selftests/sgx: retry the ioctls returned with EAGAIN
Date: Tue, 16 Aug 2022 17:24:19 +0300	[thread overview]
Message-ID: <Yvuok/Xd7+/kcUiR@kernel.org> (raw)
In-Reply-To: <20220816051656.3622-1-haitao.huang@linux.intel.com>

On Mon, Aug 15, 2022 at 10:16:56PM -0700, Haitao Huang wrote:
> For EMODT and EREMOVE ioctls with a large range, kernel
> may not finish in one shot and return EAGAIN error code
> and count of bytes of EPC pages on that operations are
> finished successfully.
> 
> Change the unclobbered_vdso_oversubscribed_remove test
> to rerun the ioctls in a loop, updating offset and length
> using the byte count returned in each iteration.
> 
> Signed-off-by: Haitao Huang <haitao.huang@linux.intel.com>
> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>

Also,

Tested-by: Jarkko Sakkinen <jarkko@kernel.org>

Dave, in addition to [*], these should be picked x86 tree for v6.0

https://lore.kernel.org/linux-sgx/20220815233900.11225-1-jarkko@kernel.org/T/#t

BR, Jarkko

  reply	other threads:[~2022-08-16 14:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-12 20:13 [PATCH] selftests/sgx: retry the ioctls returned with EAGAIN Haitao Huang
2022-08-14 19:39 ` Jarkko Sakkinen
2022-08-16  5:16   ` Haitao Huang
2022-08-16 14:24     ` Jarkko Sakkinen [this message]
2022-08-22 23:24       ` Dave Hansen
2022-08-25  4:42         ` Jarkko Sakkinen
2022-08-25  5:39           ` Jarkko Sakkinen

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=Yvuok/Xd7+/kcUiR@kernel.org \
    --to=jarkko@kernel.org \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=haitao.huang@linux.intel.com \
    --cc=linux-sgx@vger.kernel.org \
    --cc=reinette.chatre@intel.com \
    --cc=tony.luck@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox