linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] riscv: errata: andes: Makefile: Fix randconfig build issue
@ 2023-09-25 15:38 Prabhakar
  2023-10-12 13:10 ` patchwork-bot+linux-riscv
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar @ 2023-09-25 15:38 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Conor Dooley,
	Geert Uytterhoeven
  Cc: linux-riscv, linux-renesas-soc, linux-kernel, Prabhakar,
	Lad Prabhakar, kernel test robot

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Compile the andes errata with cflags set to " -mcmodel=medany"
when CONFIG_RISCV_ALTERNATIVE_EARLY is enabled.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202309111311.8tcq3KVc-lkp@intel.com/
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 arch/riscv/errata/andes/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/riscv/errata/andes/Makefile b/arch/riscv/errata/andes/Makefile
index 2d644e19caef..6278c389b801 100644
--- a/arch/riscv/errata/andes/Makefile
+++ b/arch/riscv/errata/andes/Makefile
@@ -1 +1,5 @@
+ifdef CONFIG_RISCV_ALTERNATIVE_EARLY
+CFLAGS_errata.o := -mcmodel=medany
+endif
+
 obj-y += errata.o
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] riscv: errata: andes: Makefile: Fix randconfig build issue
  2023-09-25 15:38 [PATCH] riscv: errata: andes: Makefile: Fix randconfig build issue Prabhakar
@ 2023-10-12 13:10 ` patchwork-bot+linux-riscv
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-10-12 13:10 UTC (permalink / raw)
  To: Prabhakar
  Cc: linux-riscv, paul.walmsley, palmer, aou, conor.dooley,
	geert+renesas, linux-renesas-soc, linux-kernel,
	prabhakar.mahadev-lad.rj, lkp

Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@rivosinc.com>:

On Mon, 25 Sep 2023 16:38:44 +0100 you wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> 
> Compile the andes errata with cflags set to " -mcmodel=medany"
> when CONFIG_RISCV_ALTERNATIVE_EARLY is enabled.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202309111311.8tcq3KVc-lkp@intel.com/
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> 
> [...]

Here is the summary with links:
  - riscv: errata: andes: Makefile: Fix randconfig build issue
    https://git.kernel.org/riscv/c/5abb5c3cd4b3

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-12 13:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-25 15:38 [PATCH] riscv: errata: andes: Makefile: Fix randconfig build issue Prabhakar
2023-10-12 13:10 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).