[PATCH] pci: Sort resources before assignment

2022-08-10 Thread Leo Yan
to Misako Signed-off-by: Leo Yan --- drivers/pci/pci_auto.c | 104 +++-- 1 file changed, 79 insertions(+), 25 deletions(-) diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c index c7968926a1..69c801fc62 100644 --- a/drivers/pci/pci_auto.c +++ b/dr

[PATCH v1 0/2] arm64: Fix building failure for Xen target

2023-05-04 Thread Leo Yan
This patch series is for building Xen target with Clang. The first patch is to fix building failure for Xen target, the second patch is to add info for a linkage known issue when use Clang as compiler. Leo Yan (2): arm64: Remove duplicated symbols doc: Add info for building Xen target with

[PATCH v1 1/2] arm64: Remove duplicated symbols

2023-05-04 Thread Leo Yan
rom boot0-linux-kernel-header.h. Signed-off-by: Leo Yan --- arch/arm/include/asm/boot0-linux-kernel-header.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/include/asm/boot0-linux-kernel-header.h b/arch/arm/include/asm/boot0-linux-kernel-header.h index c6cd76f32a..c930fea5fd 10064

[PATCH v1 2/2] doc: Add info for building Xen target with Clang

2023-05-04 Thread Leo Yan
When build Xen target with Clang, the linker reports failure. This patch adds the related info in the documentation as a known issue and gives details for how to dismiss the building failure with Clang. Signed-off-by: Leo Yan --- doc/build/clang.rst | 36 1

Re: [PATCH v1 0/2] arm64: Fix building failure for Xen target

2023-05-17 Thread Leo Yan
On Thu, May 04, 2023 at 03:54:57PM +0800, Leo Yan wrote: > This patch series is for building Xen target with Clang. > > The first patch is to fix building failure for Xen target, the second > patch is to add info for a linkage known issue when use Clang as > compiler. Gentle pin

[PATCH] driver: rng: Do not check ARM_SMCCC_TRNG_VERSION

2024-07-09 Thread Leo Yan
his commit removes the invocation to avoid the failure - which is a wrong calling in U-boot. The later code invokes ARM_SMCCC_TRNG_VERSION for retrieving the TRNG version, except it can read back the version number, it also can be used to detect whether the TRNG is supported or not. Signed-off-b

[U-Boot] [PATCH] ARMv8: fix bug for flush data cache by set/way

2014-03-30 Thread Leo Yan
When flush the d$ with set/way instruction, it need calculate the way's offset = log2(Associativity); but in current uboot's code, it use below formula to calculate the offset: log2(Associativity * 2 - 1), so finally it cannot flush data cache properly. Signed-off-by: Leo Yan --- ar

Re: [U-Boot] [PATCH] ARMv8: fix bug for flush data cache by set/way

2014-04-01 Thread Leo Yan
ux kernel's code for flushing operations and just commit this patch to align with it. Thx, Leo Yan On 04/01/2014 11:25 AM, feng...@phytium.com.cn wrote: hi Leo, Please reference ARMv8-TRM, the associativity field does not have to be a power of 2. I made the same mistake with y

Re: [U-Boot] [PATCH] ARMv8: fix bug for flush data cache by set/way

2014-04-01 Thread Leo Yan
hi David, On 04/01/2014 11:25 AM, feng...@phytium.com.cn wrote: hi Leo, Please reference ARMv8-TRM, the associativity field does not have to be a power of 2. I made the same mistake with you previously and scott identify this. *发件人:* Leo Yan <mailto:l...@marvell.com> *发送时间:*

[PATCH v1 5/8] arm: total_compute: Minor improvement for boot arguments

2024-10-25 Thread Leo Yan
From: Boyan Karatotev Tell the AVB command that is loading from MMC. Signed-off-by: Boyan Karatotev Signed-off-by: Leo Yan --- board/armltd/total_compute/total_compute.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/armltd/total_compute/total_compute.env b

[PATCH v1 4/8] arm: total_compute: move the boot command to an env file

2024-10-25 Thread Leo Yan
From: Boyan Karatotev The boot command for Total Compute has many aspects and changes from time to time. So move it to an .env file where it can be a proper script. Signed-off-by: Boyan Karatotev Signed-off-by: Leo Yan --- board/armltd/total_compute/total_compute.env | 28

[PATCH v1 3/8] arm: total_compute: Remove unused bootm_size

2024-10-25 Thread Leo Yan
From: Boyan Karatotev The whole DRAM bank is used for loading and U-boot can detect the overlap between the kernel and initramfs. So it is safe to drop bootm_size. Signed-off-by: Boyan Karatotev Signed-off-by: Leo Yan --- include/configs/total_compute.h | 1 - 1 file changed, 1 deletion

[PATCH v1 8/8] arm: total_compute: Update memory mapping info

2024-10-25 Thread Leo Yan
on for a predefined table size. Signed-off-by: Leo Yan --- board/armltd/total_compute/total_compute.c | 44 +- 1 file changed, 34 insertions(+), 10 deletions(-) diff --git a/board/armltd/total_compute/total_compute.c b/board/armltd/total_compute/total_compute.c index 02bb

[PATCH v1 1/8] arm: total_compute: depend on TF-A for hardware description

2024-10-25 Thread Leo Yan
raspberry pi, so borrow a lot of it. Co-developed-by: Jackson Cooper-Driver Signed-off-by: Jackson Cooper-Driver Signed-off-by: Boyan Karatotev Signed-off-by: Leo Yan --- arch/arm/Kconfig | 1 + board/armltd/total_compute/Makefile| 1 + board/armltd

[PATCH v1 6/8] arm: total_compute: Dynamically detect block device

2024-10-25 Thread Leo Yan
Dynamically detect block device in the boot command, this allows to support both MMC and virtio block devices. Signed-off-by: Leo Yan --- board/armltd/total_compute/total_compute.env | 21 +--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/board/armltd

[PATCH v1 0/8] U-boot: arm: Refine the booting on Total Compute

2024-10-25 Thread Leo Yan
arm: total_compute: Initialize environment variables arm: total_compute: Remove unused bootm_size arm: total_compute: move the boot command to an env file arm: total_compute: Minor improvement for boot arguments Leo Yan (3): arm: total_compute: Dynamically detect block device arm

[PATCH v1 2/8] arm: total_compute: Initialize environment variables

2024-10-25 Thread Leo Yan
From: Boyan Karatotev Initialize the environment variables 'fdt_addr_r' and 'kernel_addr_r' during the misc init phase. The static configurations are not needed, remove them. Signed-off-by: Boyan Karatotev Signed-off-by: Leo Yan --- arch/arm/Kconfig

[PATCH v1 7/8] arm: total_compute: Support Debian boot

2024-10-25 Thread Leo Yan
Add booting option for Debian system. Signed-off-by: Leo Yan --- board/armltd/total_compute/total_compute.env | 4 1 file changed, 4 insertions(+) diff --git a/board/armltd/total_compute/total_compute.env b/board/armltd/total_compute/total_compute.env index 93460aa5dc..7924632678 100644

Re: [PATCH] board: armltd: Make myself maintainer for total compute

2024-11-20 Thread Leo Yan
On Tue, Nov 19, 2024 at 05:25:58PM +, ben.hor...@arm.com wrote: > > From: Ben Horgan > > The previous maintainer is no longer involved in total compute. > > Signed-off-by: Ben Horgan Reviewed-by: Leo Yan > --- > board/armltd/total_compute/MAINTAINERS | 2