Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CAF54C001E0 for ; Sun, 23 Jul 2023 04:43:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BFE9486800; Sun, 23 Jul 2023 06:41:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=tinylab.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 9B55386819; Sun, 23 Jul 2023 06:41:56 +0200 (CEST) Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.221.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 646A6861BE for ; Sun, 23 Jul 2023 06:41:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=tinylab.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng@tinylab.org X-QQ-mid: bizesmtp84t1690087294tgq5rsod Received: from ubuntu.. ( [111.196.130.174]) by bizesmtp.qq.com (ESMTP) with id ; Sun, 23 Jul 2023 12:41:33 +0800 (CST) X-QQ-SSF: 01200000000000F0H000000A0000000 X-QQ-FEAT: SFhf6fKhx/9IVNwMk3TfA12odom4NnCGbyk3Dl8QPs9Xkgh9T76hIYZeltCEO QEtTMO2ILxxG9B9VWUwRTv2gcxB3cE8OJ7lHNCa/UqV6QGKXimgMLjwol8rtd2YNd3lrFyQ zvTDTv4ATsLuq7xMWHDM4KwA9FL1mDUsOhn53lVJ48xA7bVvT2ZwBuGZ90SawfMK8oJ7w4N SlRKixzLETFjvbObyozQmCffKhhgPMyfd567aR5IVrhr+l5piE3Q7zaT56qyvUoFl9gJZav LVSzxnSE2vuTyZj/PigPjUbvJtP8UPHbwWUrVE3UfpC0oxtoXnQa8krk2Xp2c3HXH7BCCAQ UHg0r5T0fnCD7WZFQo/z/M+MmOxpu7CnUO3OV0tCnlXB3JBemI= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 17989506220178511603 From: Bin Meng To: Simon Glass , u-boot@lists.denx.de Cc: Heinrich Schuchardt , Heinrich Schuchardt , Leo , Rick Chen Subject: [PATCH 16/18] riscv: define a cache line size for the generic CPU Date: Sun, 23 Jul 2023 12:40:39 +0800 Message-Id: <20230723044041.1089804-17-bmeng@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230723044041.1089804-1-bmeng@tinylab.org> References: <20230723044041.1089804-1-bmeng@tinylab.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz7a-0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Heinrich Schuchardt The USB 3.0 driver xhci-mem.c requires CONFIG_SYS_CACHELINE_SIZE to be set. Define the cache line size for QEMU on RISC-V to be 64 bytes. Signed-off-by: Heinrich Schuchardt Reviewed-by: Bin Meng Signed-off-by: Bin Meng --- arch/riscv/cpu/generic/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/cpu/generic/Kconfig b/arch/riscv/cpu/generic/Kconfig index 897765c3c6..2baba22992 100644 --- a/arch/riscv/cpu/generic/Kconfig +++ b/arch/riscv/cpu/generic/Kconfig @@ -6,6 +6,7 @@ config GENERIC_RISCV bool select BINMAN if SPL select ARCH_EARLY_INIT_R + select SYS_CACHE_SHIFT_6 imply CPU imply CPU_RISCV imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE) -- 2.34.1