linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Miaohe Lin <linmiaohe@huawei.com>
To: Thomas Tai <thomas.tai@oracle.com>
Cc: <tony.luck@intel.com>, <dave.hansen@linux.intel.com>,
	<jarkko@kernel.org>, <reinette.chatre@intel.com>,
	<akpm@linux-foundation.org>, <linux-mm@kvack.org>,
	<linux-kernel@vger.kernel.org>, <naoya.horiguchi@nec.com>
Subject: Re: [PATCH V3 1/1] x86/sgx: Add code to inject hwpoison into SGX memory
Date: Tue, 18 Oct 2022 14:21:12 +0800	[thread overview]
Message-ID: <4a7c4187-5df3-f153-189b-62fae7de4cd2@huawei.com> (raw)
In-Reply-To: <20221017223305.578073-2-thomas.tai@oracle.com>

On 2022/10/18 6:33, Thomas Tai wrote:
> Inspired by commit c6acb1e7bf46 ("x86/sgx: Add hook to error injection
> address validation"), add a similar code in hwpoison_inject function to
> check if the address is located in SGX Memory. The error will then be
> handled by the arch_memory_failure function in the SGX driver. After
> injection, the action_result() will print out the page type and the
> action taken.
> 
> Signed-off-by: Thomas Tai <thomas.tai@oracle.com>

Many thanks for your work. The patch looks good to me.

Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>

Thanks,
Miaohe Lin




  parent reply	other threads:[~2022-10-18  6:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17 22:33 [PATCH V3 0/1] " Thomas Tai
2022-10-17 22:33 ` [PATCH V3 1/1] " Thomas Tai
2022-10-18  2:21   ` HORIGUCHI NAOYA(堀口 直也)
2022-10-18  6:21   ` Miaohe Lin [this message]
2022-10-23  4:30   ` 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=4a7c4187-5df3-f153-189b-62fae7de4cd2@huawei.com \
    --to=linmiaohe@huawei.com \
    --cc=akpm@linux-foundation.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=jarkko@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=naoya.horiguchi@nec.com \
    --cc=reinette.chatre@intel.com \
    --cc=thomas.tai@oracle.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