From: "Alejandro Vallejo" <alejandro.garciavallejo@amd.com>
To: "Andrew Cooper" <andrew.cooper3@citrix.com>,
"Xen-devel" <xen-devel@lists.xenproject.org>
Cc: "Jan Beulich" <jbeulich@suse.com>,
"Roger Pau Monné" <roger@xenproject.org>,
"Teddy Astie" <teddy.astie@vates.tech>
Subject: Re: [PATCH] x86/amd: (More) use of U suffixes on integer constants
Date: Mon, 23 Nov 2026 17:14:27 +0100 [thread overview]
Message-ID: <DN2Q2LULV7VS.13M3XY5EM4ATG@amd.com> (raw)
In-Reply-To: <20261123154815.196410-1-andrew.cooper3@citrix.com>
On Mon Nov 23, 2026 at 4:48 PM CET, Andrew Cooper wrote:
> This was missed, but necessary to fix in order to
You probably meant to write a bit more.
"This was missed, but necessary to fix in order to add amd.c to the
set of scanned files"
With that, or something similar,
Reviewed-by: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
>
> Fixes: 92ddcda17fb0 ("x86/cpu: Use U suffixes on integer constants")
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> ---
> CC: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
> CC: Jan Beulich <jbeulich@suse.com>
> CC: Roger Pau Monné <roger@xenproject.org>
> CC: Teddy Astie <teddy.astie@vates.tech>
>
> Found by an AI review looking over recent commits into staging.
I didn't notice this (for me) compiled out hunk
> ---
> xen/arch/x86/cpu/amd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/arch/x86/cpu/amd.c b/xen/arch/x86/cpu/amd.c
> index ff9fc0689f3a..8fd0b675161e 100644
> --- a/xen/arch/x86/cpu/amd.c
> +++ b/xen/arch/x86/cpu/amd.c
> @@ -39,7 +39,7 @@ static inline int rdmsr_amd_safe(unsigned int msr, unsigned int *lo,
> "1: rdmsr\n\t"
> _ASM_EXTABLE(1b, %l[fault])
> : "=a" (*lo), "=d" (*hi)
> - : "c" (msr), "D" (0x9c5a203a)
> + : "c" (msr), "D" (0x9c5a203aU)
> :
> : fault );
>
>
> base-commit: ada7fa3491668bbcf1afe525057c470903625d26
prev parent reply other threads:[~2026-11-23 16:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 15:48 [PATCH] x86/amd: (More) use of U suffixes on integer constants Andrew Cooper
2026-11-23 16:14 ` Alejandro Vallejo [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=DN2Q2LULV7VS.13M3XY5EM4ATG@amd.com \
--to=alejandro.garciavallejo@amd.com \
--cc=andrew.cooper3@citrix.com \
--cc=jbeulich@suse.com \
--cc=roger@xenproject.org \
--cc=teddy.astie@vates.tech \
--cc=xen-devel@lists.xenproject.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 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.