All of lore.kernel.org
 help / color / mirror / Atom feed
From: Palmer Dabbelt <palmerdabbelt@google.com>
To: vitaly.wool@konsulko.com
Cc: linux-riscv@lists.infradead.org, vincent.chen@sifive.com,
	vitaly.wool@konsulko.com
Subject: Re: [PATCH] riscv: alternative: fix typo in macro name
Date: Fri, 11 Jun 2021 08:59:14 -0700 (PDT)	[thread overview]
Message-ID: <mhng-fa02f293-4e19-4549-a89e-1e052b9f4298@palmerdabbelt-glaptop> (raw)
In-Reply-To: <20210531093310.17848-1-vitaly.wool@konsulko.com>

On Mon, 31 May 2021 02:33:10 PDT (-0700), vitaly.wool@konsulko.com wrote:
> alternative-macros.h defines ALT_NEW_CONTENT in its assembly part
> and ALT_NEW_CONSTENT in the C part. Most likely it is the latter
> that is wrong.
>
> Fixes: 6f4eea90465ad
> 	(riscv: Introduce alternative mechanism to apply errata solution)
> Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
> ---
>  arch/riscv/include/asm/alternative-macros.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/riscv/include/asm/alternative-macros.h b/arch/riscv/include/asm/alternative-macros.h
> index 88c08705f64a..67406c376389 100644
> --- a/arch/riscv/include/asm/alternative-macros.h
> +++ b/arch/riscv/include/asm/alternative-macros.h
> @@ -51,7 +51,7 @@
>  	REG_ASM " " newlen "\n" \
>  	".word " errata_id "\n"
>
> -#define ALT_NEW_CONSTENT(vendor_id, errata_id, enable, new_c) \
> +#define ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) \
>  	".if " __stringify(enable) " == 1\n"				\
>  	".pushsection .alternative, \"a\"\n"				\
>  	ALT_ENTRY("886b", "888f", __stringify(vendor_id), __stringify(errata_id), "889f - 888f") \
> @@ -69,7 +69,7 @@
>  	"886 :\n"	\
>  	old_c "\n"	\
>  	"887 :\n"	\
> -	ALT_NEW_CONSTENT(vendor_id, errata_id, enable, new_c)
> +	ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c)
>
>  #define _ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, CONFIG_k)	\
>  	__ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k))

Thanks, this is on fixes.

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

      parent reply	other threads:[~2021-06-11 15:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31  9:33 [PATCH] riscv: alternative: fix typo in macro name Vitaly Wool
2021-05-31  9:39 ` Jisheng Zhang
2021-06-11 15:59 ` Palmer Dabbelt [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=mhng-fa02f293-4e19-4549-a89e-1e052b9f4298@palmerdabbelt-glaptop \
    --to=palmerdabbelt@google.com \
    --cc=linux-riscv@lists.infradead.org \
    --cc=vincent.chen@sifive.com \
    --cc=vitaly.wool@konsulko.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.