* Re: [PATCH] iommu/amd: Convert from atomic_t to refcount_t on pasid_state->count
[not found] <1626683578-64214-1-git-send-email-xiyuyang19@fudan.edu.cn>
@ 2021-07-22 19:34 ` Suthikulpanit, Suravee
2021-07-26 11:47 ` Joerg Roedel
1 sibling, 0 replies; 2+ messages in thread
From: Suthikulpanit, Suravee @ 2021-07-22 19:34 UTC (permalink / raw)
To: Xiyu Yang, Joerg Roedel, Will Deacon, iommu, linux-kernel
Cc: yuanxzhang, Xin Tan
On 7/19/2021 3:32 AM, Xiyu Yang wrote:
> refcount_t type and corresponding API can protect refcounters from
> accidental underflow and overflow and further use-after-free situations.
>
> Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn>
> Signed-off-by: Xin Tan <tanxin.ctf@gmail.com>
Thanks,
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] iommu/amd: Convert from atomic_t to refcount_t on pasid_state->count
[not found] <1626683578-64214-1-git-send-email-xiyuyang19@fudan.edu.cn>
2021-07-22 19:34 ` [PATCH] iommu/amd: Convert from atomic_t to refcount_t on pasid_state->count Suthikulpanit, Suravee
@ 2021-07-26 11:47 ` Joerg Roedel
1 sibling, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2021-07-26 11:47 UTC (permalink / raw)
To: Xiyu Yang
Cc: Suravee Suthikulpanit, Will Deacon, iommu, linux-kernel,
yuanxzhang, Xin Tan
On Mon, Jul 19, 2021 at 04:32:58PM +0800, Xiyu Yang wrote:
> drivers/iommu/amd/iommu_v2.c | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-26 11:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1626683578-64214-1-git-send-email-xiyuyang19@fudan.edu.cn>
2021-07-22 19:34 ` [PATCH] iommu/amd: Convert from atomic_t to refcount_t on pasid_state->count Suthikulpanit, Suravee
2021-07-26 11:47 ` Joerg Roedel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox