[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4a7c4187-5df3-f153-189b-62fae7de4cd2@huawei.com>
Date: Tue, 18 Oct 2022 14:21:12 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: Thomas Tai <thomas.tai@...cle.com>
CC: <tony.luck@...el.com>, <dave.hansen@...ux.intel.com>,
<jarkko@...nel.org>, <reinette.chatre@...el.com>,
<akpm@...ux-foundation.org>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>, <naoya.horiguchi@....com>
Subject: Re: [PATCH V3 1/1] x86/sgx: Add code to inject hwpoison into SGX
memory
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@...cle.com>
Many thanks for your work. The patch looks good to me.
Reviewed-by: Miaohe Lin <linmiaohe@...wei.com>
Thanks,
Miaohe Lin
Powered by blists - more mailing lists