From: Sasha Levin <sashal@kernel.org>
To: Saurabh Sengar <ssengar@linux.microsoft.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 5.15] drm/hyperv: Don't overwrite dirt_needed value set by host
Date: Thu, 11 May 2023 20:23:17 -0400 [thread overview]
Message-ID: <ZF2G9drD1lqK7m8C@sashalap> (raw)
In-Reply-To: <1683541802-14002-1-git-send-email-ssengar@linux.microsoft.com>
On Mon, May 08, 2023 at 03:30:02AM -0700, Saurabh Sengar wrote:
>[ Upstream commit 19b5e6659eaf537ebeac90ae30c7df0296fe5ab9 ]
>
>Existing code is causing a race condition where dirt_needed value is
>already set by the host and gets overwritten with default value. Remove
>this default setting of dirt_needed, to avoid overwriting the value
>received in the channel callback set by vmbus_open. Removing this
>setting also means the default value for dirt_needed is changed to false
>as it's allocated by kzalloc which is similar to legacy hyperv_fb driver.
>
>Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
>Reviewed-by: Michael Kelley <mikelley@microsoft.com>
>Reviewed-by: Dexuan Cui <decui@microsoft.com>
Queued up, thanks!
--
Thanks,
Sasha
prev parent reply other threads:[~2023-05-12 0:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-08 10:30 [PATCH 5.15] drm/hyperv: Don't overwrite dirt_needed value set by host Saurabh Sengar
2023-05-12 0:23 ` Sasha Levin [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=ZF2G9drD1lqK7m8C@sashalap \
--to=sashal@kernel.org \
--cc=ssengar@linux.microsoft.com \
--cc=stable@vger.kernel.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