All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joerg Roedel <joro@8bytes.org>
To: Vasant Hegde <vasant.hegde@amd.com>
Cc: iommu@lists.linux.dev, suravee.suthikulpanit@amd.com,
	Dan Carpenter <dan.carpenter@linaro.org>
Subject: Re: [PATCH] iommu/amd: Fix sleeping in atomic context
Date: Fri, 8 Mar 2024 08:58:51 +0100	[thread overview]
Message-ID: <ZerFO7wiYEYVe6i0@8bytes.org> (raw)
In-Reply-To: <20240307052738.116035-1-vasant.hegde@amd.com>

On Thu, Mar 07, 2024 at 05:27:38AM +0000, Vasant Hegde wrote:
> Commit cf70873e3d01 ("iommu/amd: Refactor GCR3 table helper functions")
> changed GFP flag we use for GCR3 table. Original plan was to move GCR3
> table allocation outside spinlock. But this requires complete rework of
> attach device path. Hence we didn't do it as part of SVA series. For now
> revert the GFP flag to ATOMIC (same as original code).
> 
> Fixes: cf70873e3d01 ("iommu/amd: Refactor GCR3 table helper functions")
> Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
> Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
> ---
>  drivers/iommu/amd/iommu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

      reply	other threads:[~2024-03-08  7:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07  5:27 [PATCH] iommu/amd: Fix sleeping in atomic context Vasant Hegde
2024-03-08  7:58 ` Joerg Roedel [this message]

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=ZerFO7wiYEYVe6i0@8bytes.org \
    --to=joro@8bytes.org \
    --cc=dan.carpenter@linaro.org \
    --cc=iommu@lists.linux.dev \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=vasant.hegde@amd.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.