public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [PATCH 5.10.y-cip] cache: Kconfig: Add dependency for RISCV on AX45MP_L2_CACHE config
@ 2024-02-12 12:19 Lad Prabhakar
  2024-02-13  8:32 ` Pavel Machek
  2024-02-13 12:56 ` Pavel Machek
  0 siblings, 2 replies; 3+ messages in thread
From: Lad Prabhakar @ 2024-02-12 12:19 UTC (permalink / raw)
  To: cip-dev, Nobuhiro Iwamatsu, Pavel Machek; +Cc: Biju Das, llvm, oe-kbuild-all

csr_write() is available only for RISC-V which caused build issues with
randconfig for ax45mp_cache.c. To avoid this issue add a RISCV dependency
on AX45MP_L2_CACHE config.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402101256.mOmaXuSb-lkp@intel.com/
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/cache/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cache/Kconfig b/drivers/cache/Kconfig
index 400cb09f6bd4..aacc36685945 100644
--- a/drivers/cache/Kconfig
+++ b/drivers/cache/Kconfig
@@ -3,6 +3,7 @@ menu "Cache Drivers"
 
 config AX45MP_L2_CACHE
 	bool "Andes Technology AX45MP L2 Cache controller"
+	depends on RISCV
 	select ARCH_HAS_SYNC_DMA_FOR_CPU
 	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
 	select ARCH_HAS_SETUP_DMA_OPS
-- 
2.25.1



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

* Re: [PATCH 5.10.y-cip] cache: Kconfig: Add dependency for RISCV on AX45MP_L2_CACHE config
  2024-02-12 12:19 [PATCH 5.10.y-cip] cache: Kconfig: Add dependency for RISCV on AX45MP_L2_CACHE config Lad Prabhakar
@ 2024-02-13  8:32 ` Pavel Machek
  2024-02-13 12:56 ` Pavel Machek
  1 sibling, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2024-02-13  8:32 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: cip-dev, Nobuhiro Iwamatsu, Pavel Machek, Biju Das, llvm,
	oe-kbuild-all

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

Hi!

> csr_write() is available only for RISC-V which caused build issues with
> randconfig for ax45mp_cache.c. To avoid this issue add a RISCV dependency
> on AX45MP_L2_CACHE config.

Looks good to me, thanks. I will apply it soon if it passes testing
and if there are no other comments.

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* Re: [PATCH 5.10.y-cip] cache: Kconfig: Add dependency for RISCV on AX45MP_L2_CACHE config
  2024-02-12 12:19 [PATCH 5.10.y-cip] cache: Kconfig: Add dependency for RISCV on AX45MP_L2_CACHE config Lad Prabhakar
  2024-02-13  8:32 ` Pavel Machek
@ 2024-02-13 12:56 ` Pavel Machek
  1 sibling, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2024-02-13 12:56 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: cip-dev, Nobuhiro Iwamatsu, Pavel Machek, Biju Das, llvm,
	oe-kbuild-all

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

Hi!

> csr_write() is available only for RISC-V which caused build issues with
> randconfig for ax45mp_cache.c. To avoid this issue add a RISCV dependency
> on AX45MP_L2_CACHE config.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202402101256.mOmaXuSb-lkp@intel.com/
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Thank you, applied.

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

end of thread, other threads:[~2024-02-13 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-12 12:19 [PATCH 5.10.y-cip] cache: Kconfig: Add dependency for RISCV on AX45MP_L2_CACHE config Lad Prabhakar
2024-02-13  8:32 ` Pavel Machek
2024-02-13 12:56 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox