From: "Ghimiray, Himal Prasad" <himal.prasad.ghimiray@intel.com>
To: <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH 3/3] drm/xe/vf: Don't try to read legacy GuC MMIO notification if VF
Date: Mon, 8 Apr 2024 11:33:12 +0530 [thread overview]
Message-ID: <1d3b74ce-5637-423f-83ca-43d3fde7548b@intel.com> (raw)
In-Reply-To: <20240405133936.891-4-michal.wajdeczko@intel.com>
On 05-04-2024 19:09, Michal Wajdeczko wrote:
> Legacy SOFT_SCRATCH registers are not accessible from the VF. Any
> G2H notification posted there will be handled by the PF driver.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_guc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
> index 59fe73770711..240e7a4bbff1 100644
> --- a/drivers/gpu/drm/xe/xe_guc.c
> +++ b/drivers/gpu/drm/xe/xe_guc.c
> @@ -591,6 +591,9 @@ static void guc_handle_mmio_msg(struct xe_guc *guc)
> struct xe_gt *gt = guc_to_gt(guc);
> u32 msg;
>
> + if (IS_SRIOV_VF(guc_to_xe(guc)))
> + return;
> +
LGTM.
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
> xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT);
>
> msg = xe_mmio_read32(gt, SOFT_SCRATCH(15));
next prev parent reply other threads:[~2024-04-08 6:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-05 13:39 [PATCH 0/3] More VF tweaks Michal Wajdeczko
2024-04-05 13:39 ` [PATCH 1/3] drm/xe/vf: Don't emit access to Global HWSP if VF Michal Wajdeczko
2024-04-08 11:19 ` Piotr Piórkowski
2024-04-05 13:39 ` [PATCH 2/3] drm/xe/vf: Don't try to program MOCS " Michal Wajdeczko
2024-04-08 6:02 ` Ghimiray, Himal Prasad
2024-04-05 13:39 ` [PATCH 3/3] drm/xe/vf: Don't try to read legacy GuC MMIO notification " Michal Wajdeczko
2024-04-08 6:03 ` Ghimiray, Himal Prasad [this message]
2024-04-05 16:09 ` ✓ CI.Patch_applied: success for More VF tweaks Patchwork
2024-04-05 16:10 ` ✓ CI.checkpatch: " Patchwork
2024-04-05 16:12 ` ✓ CI.KUnit: " Patchwork
2024-04-05 16:24 ` ✓ CI.Build: " Patchwork
2024-04-05 16:27 ` ✓ CI.Hooks: " Patchwork
2024-04-05 16:29 ` ✓ CI.checksparse: " Patchwork
2024-04-05 17:06 ` ✓ CI.BAT: " Patchwork
2024-04-08 12:32 ` Michal Wajdeczko
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=1d3b74ce-5637-423f-83ca-43d3fde7548b@intel.com \
--to=himal.prasad.ghimiray@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/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