Re: [RFC PATCH 2/6] arm: dts: k3-j784s4-main: Add PBIST_14 node

2024-09-05 Thread Neha Malcom Francis
Hi Udit On 04/09/24 09:52, Kumar, Udit wrote: On 9/3/2024 5:13 PM, Neha Malcom Francis wrote: Add DT node for PBIST_14 that is responsible for triggering the BIST self-tests for the MAIN_R5_2_x cores. Signed-off-by: Neha Malcom Francis ---   dts/upstream/src/arm64/ti/k3-j784s4-main.dtsi

Re: [RFC PATCH 3/6] arm: dts: k3-j784s4-main: Add clock and power domains for MAIN_R5_2_x

2024-09-05 Thread Neha Malcom Francis
On 04/09/24 09:55, Kumar, Udit wrote: On 9/3/2024 5:13 PM, Neha Malcom Francis wrote: Add bootph-pre-ram as well as the clocks and power-domains for MAIN_R5_2_x. This ensures that LPSC sets the appropriate power and clock and allows for BIST to turn the cores on and off for running the self

Re: [RFC PATCH 4/6] drivers: misc: k3_bist: Add K3 BIST driver

2024-09-05 Thread Neha Malcom Francis
On 04/09/24 10:35, Kumar, Udit wrote: On 9/3/2024 5:14 PM, Neha Malcom Francis wrote: Add a driver for the BIST module which currently includes support for BIST IPs that trigger PBIST (Memory BIST). Signed-off-by: Neha Malcom Francis ---   drivers/misc/Kconfig   |   8 +   drivers

Re: [RFC PATCH 4/6] drivers: misc: k3_bist: Add K3 BIST driver

2024-09-10 Thread Neha Malcom Francis
Hi Udit, On 05/09/24 17:20, Kumar, Udit wrote: On 9/5/2024 3:11 PM, Neha Malcom Francis wrote: On 04/09/24 10:35, Kumar, Udit wrote: On 9/3/2024 5:14 PM, Neha Malcom Francis wrote: Add a driver for the BIST module which currently includes support for BIST IPs that trigger PBIST (Memory

Re: [PATCH 01/13] ufs: allocate descriptors with size aligned with DMA_MINALIGN

2024-09-10 Thread Neha Malcom Francis
gt;dev, "Command descriptor memory allocation failed\n"); return -ENOMEM; Reviewed-by: Neha Malcom Francis Sorry for the delay in sending out this review, I had reviewed the first few patches that you had send in an earlier version and looks like this cleanup/fix was n

Re: [PATCH 02/13] ufs: fix dcache flush and invalidate range calculation

2024-09-10 Thread Neha Malcom Francis
ALIGN(datalen, ARCH_DMA_MINALIGN)); + invalidate_dcache_range(aaddr, + ALIGN((uintptr_t)pccb->pdata + datalen, ARCH_DMA_MINALIGN)); table_length = DIV_ROUND_UP(pccb->datalen, MAX_PRDT_ENTRY); buf = pccb->pdata; Reviewed-

Re: [PATCH 03/13] ufs: split flush and invalidate to only invalidate when required

2024-09-10 Thread Neha Malcom Francis
(req_desc, sizeof(*req_desc)); + ufshcd_cache_flush(prd_table, sizeof(*prd_table) * table_length); + ufshcd_cache_flush(req_desc, sizeof(*req_desc)); } static int ufs_scsi_exec(struct udevice *scsi_dev, struct scsi_cmd *pccb) Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 04/13] ufs: use dcache helpers for scsi_cmd data and only invalidate if necessary

2024-09-10 Thread Neha Malcom Francis
prepare_prdt_table(hba, pccb); + ufshcd_cache_flush(pccb->pdata, pccb->datalen); + ufshcd_send_command(hba, TASK_TAG); + ufshcd_cache_invalidate(pccb->pdata, pccb->datalen); + ocs = ufshcd_get_tr_ocs(hba); switch (ocs) { case OCS_SUCCESS: Reviewe

Re: [PATCH 12/13] ufs: core: remove link_startup_again logic

2024-09-10 Thread Neha Malcom Francis
G1, 1-lane, SLOW-AUTO mode */ ufshcd_init_pwr_info(hba); -- Thanking You Neha Malcom Francis

Re: [PATCH 13/13] MAINTAINERS: Add myself to the list of UFS maintainers

2024-09-10 Thread Neha Malcom Francis
harma M: Neha Malcom Francis S:Maintained I am okay with this! Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH] boardf: Modify DRAM message

2024-10-14 Thread Neha Malcom Francis
14, 2024 at 10:10:43AM +0530, Neha Malcom Francis wrote: Hi Andrew On 11/10/24 01:59, Andrew Davis wrote: On 10/10/24 1:50 PM, Simon Glass wrote: Hi Neha, On Thu, 10 Oct 2024 at 01:09, Neha Malcom Francis wrote: The message "DRAM:  2 GiB (effective 32 GiB)" can be a little confusi

Re: [PATCH] boardf: Modify DRAM message

2024-10-13 Thread Neha Malcom Francis
Hi Udit On 10/10/24 21:25, Kumar, Udit wrote: On 10/10/2024 12:39 PM, Neha Malcom Francis wrote: The message "DRAM:  2 GiB (effective 32 GiB)" can be a little confusing, modify the message to show exactly what is meant: "DRAM:  2 GiB (available for U-Boot out of total 32

Re: [PATCH] boardf: Modify DRAM message

2024-10-13 Thread Neha Malcom Francis
Hi Tom On 10/10/24 23:28, Tom Rini wrote: On Thu, Oct 10, 2024 at 12:39:09PM +0530, Neha Malcom Francis wrote: The message "DRAM: 2 GiB (effective 32 GiB)" can be a little confusing, modify the message to show exactly what is meant: "DRAM: 2 GiB (available for U-Boot out

Re: [PATCH] boardf: Modify DRAM message

2024-10-13 Thread Neha Malcom Francis
Hi Andrew On 11/10/24 01:59, Andrew Davis wrote: On 10/10/24 1:50 PM, Simon Glass wrote: Hi Neha, On Thu, 10 Oct 2024 at 01:09, Neha Malcom Francis wrote: The message "DRAM:  2 GiB (effective 32 GiB)" can be a little confusing, modify the message to show exactly what is meant:

Re: [PATCH] boardf: Modify DRAM message

2024-10-13 Thread Neha Malcom Francis
Hi Simon + Vignesh On 11/10/24 00:20, Simon Glass wrote: Hi Neha, On Thu, 10 Oct 2024 at 01:09, Neha Malcom Francis wrote: The message "DRAM: 2 GiB (effective 32 GiB)" can be a little confusing, modify the message to show exactly what is meant: "DRAM: 2 GiB (available fo

[PATCH] boardf: Modify DRAM message

2024-10-10 Thread Neha Malcom Francis
The message "DRAM: 2 GiB (effective 32 GiB)" can be a little confusing, modify the message to show exactly what is meant: "DRAM: 2 GiB (available for U-Boot out of total 32 GiB)" Signed-off-by: Neha Malcom Francis --- common/board_f.c | 2 +- 1 file changed, 1 inse

Re: [PATCH v3 00/13] ufs: enhancements to support Qualcomm UFS controllers

2024-10-07 Thread Neha Malcom Francis
Hi Neil On 07/10/24 13:43, Neil Armstrong wrote: Hi Bhupesh, Neha Malcom Francis, On 30/09/2024 14:44, Neil Armstrong wrote: This serie regroups all the fixes and base enhancements required to support the Qualcomm UFS controllers in U-Boot. This syncs headers & defines from Linux,

Re: [PATCH 2/2] doc: do not include K3 boards twice in TOC

2024-10-21 Thread Neha Malcom Francis
given where it is in the file and the rest of the contents. I think the whole list is intended as "here are all of the K3-based platforms". This however may mean that a bunch of boards then need :orphan: added as they won't strictly be in some other ToC list? -- Tom I would prefer not to break tree navigation. It would be best if the TI contribitors stepped in. I personally feel this is good enough, the toc contains the TI K3 boards present within the "K3 Generation" page while the references points to the other vendor boards. Best regards Heinrich -- Thanking You Neha Malcom Francis

Re: [PATCH 1/6] arm: dts: k3-j7200-r5-common: Add msmc clk to a72 node

2024-10-17 Thread Neha Malcom Francis
amp;k3_clks 4 1>, <&k3_clks 323 0>; + assigned-clock-parents= <0>, <0>, <0>, <&k3_clks 323 2>; + assigned-clock-rates = <20>, <2>, <10>; ti,sci = <&dmsc>; ti,sci-proc-id = <32>; ti,sci-host-id = <10>; -- Thanking You Neha Malcom Francis

Re: [PATCH 3/6] misc: k3_avs: Add k3_check_opp function

2024-10-17 Thread Neha Malcom Francis
ice *dev, int vdd_id, int opp_id); int k3_avs_notify_freq(int dev_id, int clk_id, u32 freq); +int k3_check_opp(struct udevice *dev, int vdd_id, int opp_id); #endif -- Thanking You Neha Malcom Francis

Re: [PATCH 4/6] arm: mach-k3: j721e-init.c: J7200: Add support for CONFIG_K3_OPP_LOW

2024-10-17 Thread Neha Malcom Francis
/Efuse + return -EINVAL; + } + vd->opp = opp_id; vd->flags |= VD_FLAG_INIT_DONE; -- Thanking You Neha Malcom Francis

Re: [PATCH 1/1] cmd: upl: correct printf code

2024-10-17 Thread Neha Malcom Francis
))) { printf("Cannot set env var\n"); Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH v4 8/8] arm: dts: k3-*-ddr: Add ss_cfg reg entry

2024-10-22 Thread Neha Malcom Francis
Hi Santhosh On 21/10/24 10:10, Santhosh Kumar K wrote: Add ss_cfg memory region which maps the DDRSS configuration region for the memory controller node. Signed-off-by: Santhosh Kumar K Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am62a-ddr.dtsi | 7 --- arch/arm/dts/k3

Re: [PATCH 1/6] arm: dts: k3-j7200-r5-common: Add msmc clk to a72 node

2024-10-23 Thread Neha Malcom Francis
Hi Aniket On 23/10/24 13:28, Aniket Limaye wrote: On 23/10/24 12:17, Neha Malcom Francis wrote: Hi Aniket On 23/10/24 11:42, Aniket Limaye wrote: On 17/10/24 16:00, Neha Malcom Francis wrote: Hi Aniket On 17/10/24 11:59, Aniket Limaye wrote: From: Reid Tonking Define the MSMC clk in

Re: [PATCH 1/6] arm: dts: k3-j7200-r5-common: Add msmc clk to a72 node

2024-10-22 Thread Neha Malcom Francis
Hi Aniket On 23/10/24 11:42, Aniket Limaye wrote: On 17/10/24 16:00, Neha Malcom Francis wrote: Hi Aniket On 17/10/24 11:59, Aniket Limaye wrote: From: Reid Tonking Define the MSMC clk in the a72 node The usage of MSMC and A72SS interchangeably in this series is confusing. Could you

Re: [PATCH 4/6] arm: dts: k3-am625-phycore-som-binman: Add SoM overlays

2024-11-03 Thread Neha Malcom Francis
loadables = "uboot"; + loadables = "uboot", + "som-no-rtc", + "som-no-spi", + "som-no-eth", + "som-qspi"; fdt = "fdt-0"; }; }; Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 5/6] arm: dts: k3-am642-phycore-som-binman: Add SoM overlays

2024-11-03 Thread Neha Malcom Francis
loadables = "uboot"; + loadables = "uboot", + "som-no-rtc", + "som-no-spi", + "som-no-eth", + "som-qspi"; fdt = "fdt-0"; }; }; Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 6/6] board: phytec: common: k3: Apply SoM-specific overlays to OS device tree

2024-11-03 Thread Neha Malcom Francis
ror; + } + + memcpy(blob, fdt_copy, fdt_size); + +cleanup: + free(fdt_copy); + return; + +fixup_error: + pr_err("Failed to apply SoM overlays\n"); + goto cleanup; +} + int ft_board_setup(void *blob, struct bd_info *bd) { + fdt_apply_som_overlays(blob);

Re: [PATCH 1/1] cmd: upl: initialize unit test state

2024-11-03 Thread Neha Malcom Francis
[]) { struct upl s_upl, *upl = &s_upl; - struct unit_test_state uts; + struct unit_test_state uts = { 0 }; struct abuf buf; oftree tree; ulong addr; Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH v4 5/8] drivers: ram: Kconfig: Add CONFIG_K3_INLINE_ECC

2024-10-24 Thread Neha Malcom Francis
Hi Bryan On 23/10/24 20:15, Bryan Brattlof wrote: On October 21, 2024 thus sayeth Santhosh Kumar K: From: Neha Malcom Francis Add CONFIG_K3_INLINE_ECC so that ECC functions can be compiled into R5 SPL only when the config has been enabled. Signed-off-by: Neha Malcom Francis --- drivers

Re: [PATCH 00/13] ufs: enhancements to support Qualcomm UFS controllers

2024-09-19 Thread Neha Malcom Francis
core hasn't changed for a while, and since UFS is core technology for the Qualcomm SoCs, I volunteer maintaininig the UFS subsystem if Bhupesh & Neha Malcom Francis are ok with that. Could you run this serie on the r8a779f0_spider, j721s2_evm_a72, j721e_evm_a72, j7200_evm_a72, amd_versal2_

Re: [PATCH v4 2/8] ram: k3-ddrss: Add k3_ddrss_ddr_bank_base_size_calc() to solve 'calculations restricted to 32 bits' issue

2024-10-23 Thread Neha Malcom Francis
we should be able to copy. But we also make use of this to fix up the device tree that passes onto kernel as well, I need to look into this patch though. But from a first glance looks like we will be able to pass on the information from SPL->SPL (with modification as you said) and SPL->U-Boot but U-Boot->Kernel would still require this function to be present. ~Bryan -- Thanking You Neha Malcom Francis

[PATCH 0/2] configs: Enable CMD_NFS by default

2024-11-29 Thread Neha Malcom Francis
Enable the NFS command across all platforms to allow network booting via the NFS. Clean up the J7 configs to use TI_COMMON_CMD_OPTIONS. Neha Malcom Francis (2): board: ti: common: Kconfig: Add CMD_NFS configs: j7*: Enable TI_COMMON_CMD_OPTIONS board/ti/common/Kconfig | 1 + configs

[PATCH 1/2] board: ti: common: Kconfig: Add CMD_NFS

2024-11-29 Thread Neha Malcom Francis
Add CMD_NFS to list of configs implied by CONFIG_TI_COMMON_CMD_OPTIONS. This allows network booting via the NFS protocol from the U-Boot prompt. Fixes: 10de12570799 ("disable NFS support by default") Signed-off-by: Neha Malcom Francis --- board/ti/common/Kconfig | 1 + 1 file

[PATCH 2/2] configs: j7*: Enable TI_COMMON_CMD_OPTIONS

2024-11-29 Thread Neha Malcom Francis
Instead of bloating the defconfig with CONFIG_CMD_*, move J7 devices to start using TI_COMMON_CMD_OPTIONS. Signed-off-by: Neha Malcom Francis --- configs/j7200_evm_a72_defconfig | 8 +--- configs/j721e_evm_a72_defconfig | 8 +--- configs/j721s2_evm_a72_defconfig | 8 +--- configs

[PATCH 2/4] drivers: misc: k3_bist: Add K3 BIST driver

2024-11-27 Thread Neha Malcom Francis
Add a driver for the BIST module that support triggering of both PBIST (Memory BIST) and LBIST (Logic BIST) tests. Also expose the relevant operations and functions that would be required for an end user to trigger the tests. Signed-off-by: Neha Malcom Francis --- drivers/misc/Kconfig

[PATCH 0/4] Add support for K3 BIST

2024-11-27 Thread Neha Malcom Francis
/j721e/modules/lbist.html#introduction Neha Malcom Francis (4): arm: dts: k3-j784s4-main: Add PBIST_14 node drivers: misc: k3_bist: Add K3 BIST driver configs: j784s4_evm_a72_defconfig: Enable BIST DONOTMERGE: arm: mach-k3: j784s4_init: Trigger LBIST and PBIST on MAIN R5 2_0 arch/arm/mach

[PATCH 1/4] arm: dts: k3-j784s4-main: Add PBIST_14 node

2024-11-27 Thread Neha Malcom Francis
Add DT node for PBIST_14 that is responsible for triggering the PBIST self-tests for the MAIN_R5_2_x cores. Signed-off-by: Neha Malcom Francis --- dts/upstream/src/arm64/ti/k3-j784s4-main.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/dts/upstream/src/arm64/ti/k3-j784s4

[PATCH 4/4] DONOTMERGE: arm: mach-k3: j784s4_init: Trigger LBIST and PBIST on MAIN R5 2_0

2024-11-27 Thread Neha Malcom Francis
Trigger all tests of PBIST and LBIST using appropriate calls to set the core under test (MAIN R5 2_0) to it's required state. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/j784s4/j784s4_init.c | 48 +++ 1 file changed, 48 insertions(+) diff --git a/arc

[PATCH 3/4] configs: j784s4_evm_a72_defconfig: Enable BIST

2024-11-27 Thread Neha Malcom Francis
Enable the BIST driver to be able to successfully probe and trigger BIST tests on MAIN_R5 cores. Signed-off-by: Neha Malcom Francis --- configs/j784s4_evm_a72_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index

Re: [PATCH 4/4] DONOTMERGE: arm: mach-k3: j784s4_init: Trigger LBIST and PBIST on MAIN R5 2_0

2024-11-27 Thread Neha Malcom Francis
On 28/11/24 09:38, Kumar, Udit wrote: Thanks Neha. On 11/27/2024 8:23 PM, Neha Malcom Francis wrote: Trigger all tests of PBIST and LBIST using appropriate calls to set the core under test (MAIN R5 2_0) to it's required state. Signed-off-by: Neha Malcom Francis ---   arch/arm/mach-k3/j

Re: [PATCH 2/4] drivers: misc: k3_bist: Add K3 BIST driver

2024-11-27 Thread Neha Malcom Francis
Hi Udit On 28/11/24 10:26, Kumar, Udit wrote: On 11/27/2024 8:23 PM, Neha Malcom Francis wrote: Add a driver for the BIST module that support triggering of both PBIST (Memory BIST) and LBIST (Logic BIST) tests. Also expose the relevant In general , please think of treating err as error in

Re: [PATCH 1/4] arm: dts: k3-j784s4-main: Add PBIST_14 node

2024-11-27 Thread Neha Malcom Francis
Hi Udit On 28/11/24 09:28, Kumar, Udit wrote: On 11/27/2024 8:23 PM, Neha Malcom Francis wrote: Add DT node for PBIST_14 that is responsible for triggering the PBIST self-tests for the MAIN_R5_2_x cores. Signed-off-by: Neha Malcom Francis ---   dts/upstream/src/arm64/ti/k3-j784s4-main.dtsi

[PATCH 0/5] Enable AVS support for AM68, AM69 and J784S4

2024-11-18 Thread Neha Malcom Francis
This series adds AVS support for AM68 SK, AM69 SK and J784S4 EVM. Boot logs: https://gist.github.com/nehamalcom/db5dbf98357ebac46f648c24ad1a17e2 Neha Malcom Francis (4): arm: dts: k3-j784s4-r5: Add VTM node to R5 stage arm: dts: k3-am68-sk-r5-base-board: Add VTM node to R5 stage arch: arm

[PATCH 1/5] arm: dts: k3-j784s4-r5: Add VTM node to R5 stage

2024-11-18 Thread Neha Malcom Francis
Add VTM node to R5 boot stage so that AVS gets correctly configured for J784S4 EVM and AM69 SK. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j784s4-r5.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/k3-j784s4-r5.dtsi b/arch/arm/dts/k3-j784s4-r5.dtsi index

[PATCH 2/5] arm: dts: k3-am68-sk-r5-base-board: Add VTM node to R5 stage

2024-11-18 Thread Neha Malcom Francis
Add the VTM node to the R5 boot stage so that AVS is correctly configured for AM68 SK. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am68-sk-r5-base-board.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/k3-am68-sk-r5-base-board.dts b/arch/arm/dts/k3-am68-sk

[PATCH 3/5] arch: arm: mach-k3: j784s4_init: Probe AVS driver

2024-11-18 Thread Neha Malcom Francis
Probe the AVS driver to set the AVS voltage. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/j784s4/j784s4_init.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-k3/j784s4/j784s4_init.c b/arch/arm/mach-k3/j784s4/j784s4_init.c index 07b5d7d7504..8a41cd3bb50

[PATCH 5/5] configs: am68_sk_r5: Add AVS Configs

2024-11-18 Thread Neha Malcom Francis
From: Udit Kumar Add AVS and PMIC regulator configs Signed-off-by: Udit Kumar --- configs/am68_sk_r5_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/am68_sk_r5_defconfig b/configs/am68_sk_r5_defconfig index f4800ef1b8a..81fa58743da 100644 --- a/configs/a

[PATCH 4/5] configs: j784s4_evm_r5_defconfig: Enable AVS

2024-11-18 Thread Neha Malcom Francis
Enable AVS support on J784S4 along with regulator. Signed-off-by: Neha Malcom Francis --- configs/j784s4_evm_r5_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/j784s4_evm_r5_defconfig b/configs/j784s4_evm_r5_defconfig index 0b5441fa023..0a55f75bbe5 100644 --- a/configs

Re: [PATCH 0/6] ufs: core: initial cleanup and defines sync with Linux v6.12

2024-12-04 Thread Neha Malcom Francis
, -- Thanking You Neha Malcom Francis

Re: [PATCH 1/6] ufs: core: include missing include/ufs.h

2024-12-06 Thread Neha Malcom Francis
..31c2959aeb12931b2bbdf26b3c676ae1a7b0fd1a 100644 --- a/drivers/ufs/ufs.c +++ b/drivers/ufs/ufs.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 5/6] ufs: core: sync unipro.h with Linux v6.12

2024-12-06 Thread Neha Malcom Francis
-- Acked-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 4/6] ufs: core: move ufshci defines in a separate header

2024-12-06 Thread Neha Malcom Francis
Management Response UPIU structure */ + struct utp_upiu_header rsp_header; + __be32 output_param1; + __be32 output_param2; + __be32 __reserved2[3]; +}; + +#endif Acked-by: Neha Malcom Francis -- Thanking You Neha Malcom

Re: [PATCH 3/6] ufs: core: cosmetic fixups

2024-12-06 Thread Neha Malcom Francis
PRGTUNING UNIPRO_CB_OFFSET(0x00FB) -#define UNIPRO_CB_OFFSET(x) (0x8000 | x) +#define UNIPRO_CB_OFFSET(x) (0x8000 | (x)) /* * PHY Adpater attributes Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 2/6] ufs: core: mark unexported functions as static

2024-12-06 Thread Neha Malcom Francis
hba->desc_size.hlth_desc = QUERY_DESC_HEALTH_DEF_SIZE; } -int ufs_start(struct ufs_hba *hba) +static int ufs_start(struct ufs_hba *hba) { struct ufs_dev_desc card = {0}; int ret; -- Thanking You Neha Malcom Francis

Re: [PATCH 6/6] ufs: core: sync ufshci.h with Linux v6.12

2024-12-06 Thread Neha Malcom Francis
-- Acked-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

[PATCH v2 1/3] drivers: misc: k3_bist: Add K3 BIST driver

2025-02-04 Thread Neha Malcom Francis
Add a driver for the BIST module that support triggering of both PBIST (Memory BIST) and LBIST (Logic BIST) tests. Also expose the relevant operations and functions that would be required for an end user to trigger the tests. Signed-off-by: Neha Malcom Francis --- drivers/misc/Kconfig

[PATCH v2 2/3] DONOTMERGE: arm: dts: k3-j784s4-main: Add PBIST_14 node

2025-02-04 Thread Neha Malcom Francis
Add DT node for PBIST_14 that is responsible for triggering the PBIST self-tests for the MAIN_R5_2_x cores. Signed-off-by: Neha Malcom Francis --- Link to kernel DT upstreaming: https://lore.kernel.org/all/20241128140825.263216-1-n-fran...@ti.com/ Will be following up on its v2. dts/upstream

[PATCH v2 0/3] Add support for K3 BIST

2025-02-04 Thread Neha Malcom Francis
-jacinto7/latest/exports/docs/sdl/sdl_docs/userguide/j721e/modules/pbist.html#introduction [2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/sdl/sdl_docs/userguide/j721e/modules/lbist.html#introduction Neha Malcom Francis (3): drivers: misc: k3_bist: Add

[PATCH v2 3/3] arm: mach-k3: j784s4_init: Trigger LBIST and PBIST on MAIN R5 2_0

2025-02-04 Thread Neha Malcom Francis
Trigger all tests of PBIST and LBIST using appropriate calls to set the core under test (MAIN R5 2_0) to it's required state. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/j784s4/j784s4_init.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/arc

Re: [PATCH v2 3/3] arm: mach-k3: j784s4_init: Trigger LBIST and PBIST on MAIN R5 2_0

2025-02-04 Thread Neha Malcom Francis
On 05/02/25 11:38, Manorit Chawdhry wrote: > Hi Neha, > > On 18:01-20250204, Neha Malcom Francis wrote: >> Trigger all tests of PBIST and LBIST using appropriate calls to set the >> core under test (MAIN R5 2_0) to it's required state. >> >> Signed-off-by: Ne

Re: [PATCH v2 1/3] drivers: misc: k3_bist: Add K3 BIST driver

2025-02-04 Thread Neha Malcom Francis
On 04/02/25 19:38, Kumar, Udit wrote: > > On 2/4/2025 6:01 PM, Neha Malcom Francis wrote: >> Add a driver for the BIST module that support triggering of both PBIST >> (Memory BIST) and LBIST (Logic BIST) tests. Also expose the relevant >> operations and functions that woul

[PATCH 1/8] k3-ddr.c: Remove unwanted header files

2025-01-27 Thread Neha Malcom Francis
This header file is not in use in these arch/board specific files, remove them. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/k3-ddr.c | 1 - board/ti/common/k3-ddr.c | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm/mach-k3/k3-ddr.c b/arch/arm/mach-k3/k3-ddr.c index

[PATCH 3/8] ram: k3-ddrss: Add comment about ecc_reserved_space

2025-01-27 Thread Neha Malcom Francis
The reserved space needed for storing the parity remains the same no matter the size of the region that is being protected. Add this as a comment for better code understanding. Signed-off-by: Neha Malcom Francis --- drivers/ram/k3-ddrss/k3-ddrss.c | 4 1 file changed, 4 insertions(+) diff

[PATCH 0/8] ram: k3-ddrss: Support partial inline ECC

2025-01-27 Thread Neha Malcom Francis
b.com/nehamalcom/e5a76bece133c1ec716e2ed94d60ce74 Neha Malcom Francis (8): k3-ddr.c: Remove unwanted header files ram: k3-ddrss: Use DDR address instead of system address for ecc_regions ram: k3-ddrss: Add comment about ecc_reserved_space ram: k3-ddrss: Add support for a partial inlin

[PATCH 4/8] ram: k3-ddrss: Add support for a partial inline ECC region

2025-01-27 Thread Neha Malcom Francis
: protected@9e78 { device_type = "ecc"; reg = <0x9e78 0x008>; bootph-all; }; Signed-off-by: Neha Malcom Francis --- drivers/ram/k3-ddrss/k3-ddrss.c | 52 +++-- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git

[PATCH 2/8] ram: k3-ddrss: Use DDR address instead of system address for ecc_regions

2025-01-27 Thread Neha Malcom Francis
Let ecc_regions[x].start reflect the start of the ECC region in terms of DDR addressing rather than system addressing. This will make it easier to extend the usage of the same ecc_regions structure for multi-DDR systems as well. Signed-off-by: Neha Malcom Francis --- drivers/ram/k3-ddrss/k3

[PATCH 7/8] ram: k3-ddrss: Add support for MSMC calculation of DDR inline ECC regions

2025-01-27 Thread Neha Malcom Francis
Add support for calculation of the protected regions for each DDR in multi-DDR systems. Since MSMC is the parent node of the individual DDRs as well as responsible for their interleaving, it only makes sense for MSMC to contain the logic for dividing the regions. Signed-off-by: Neha Malcom

[PATCH 6/8] ram: k3-ddrss: Add support for number of controllers under MSMC

2025-01-27 Thread Neha Malcom Francis
In K3 multi-DDR systems, the MSMC is responsible for the interleave mechanism across all the DDR controllers. Add support for MSMC to obtain the number of controllers it's responsible for using the DT. Signed-off-by: Neha Malcom Francis --- drivers/ram/k3-ddrss/k3-ddrss.c | 8 1

[PATCH 8/8] ram: k3-ddrss: Add support for partial inline ECC in multi-DDR systems

2025-01-27 Thread Neha Malcom Francis
The existing approach does not account for interleaving in the DDRs when setting up regions. There is support for MSMC to calculate the regions for each DDR, so modify k3_ddrss_probe to set the regions accordingly for multi-DDR systems. Signed-off-by: Neha Malcom Francis --- drivers/ram/k3

[PATCH 5/8] ram: k3-ddrss: Add CONFIG_K3_MULTI_DDR

2025-01-27 Thread Neha Malcom Francis
As we increase the functionalities that the K3 DDRSS sub-system support, it is becoming more evident that the same logic cannot apply to both single as well as multiple DDR controller devices. Add CONFIG_K3_MULTI_DDR to be used to differentiate between the two. Signed-off-by: Neha Malcom Francis

Re: [PATCH] ram: k3-ddrss: Set SDRAM_IDX using device private data, ddr_ram_size

2025-01-26 Thread Neha Malcom Francis
truct udevice *dev) k3_lpddr4_start(ddrss); - k3_ddrss_ddr_bank_base_size_calc(ddrss); - if (IS_ENABLED(CONFIG_K3_INLINE_ECC)) { if (!ddrss->ddrss_ss_cfg) { printf("%s: ss_cfg is required if ecc is enabled but not provided.", Reviewed-by: Neha Mal

Re: [PATCH 4/8] ram: k3-ddrss: Add support for a partial inline ECC region

2025-01-27 Thread Neha Malcom Francis
Hi Wadim On 28-Jan-25 10:43 AM, Wadim Egorov wrote: Am 27.01.25 um 21:22 schrieb Neha Malcom Francis: Instead of defaulting to choosing the entire DDR region when enabling inline ECC, allow picking of a range within the DDR space using DT to enable. It expects such a node within the memory

Re: [PATCH 1/8] k3-ddr.c: Remove unwanted header files

2025-01-27 Thread Neha Malcom Francis
Hi Wadim On 28-Jan-25 10:32 AM, Wadim Egorov wrote: Hi Neha, Am 27.01.25 um 21:22 schrieb Neha Malcom Francis: This header file is not in use in these arch/board specific files, remove them. Signed-off-by: Neha Malcom Francis ---   arch/arm/mach-k3/k3-ddr.c | 1 -   board/ti/common/k3-ddr.c

Re: [PATCH 4/8] ram: k3-ddrss: Add support for a partial inline ECC region

2025-01-27 Thread Neha Malcom Francis
Hi Udit On 28-Jan-25 11:23 AM, Kumar, Udit wrote: On 1/27/2025 7:52 PM, Neha Malcom Francis wrote: Instead of defaulting to choosing the entire DDR region when enabling inline ECC, allow picking of a range within the DDR space using DT to enable. It expects such a node within the memory node

Re: [PATCH 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node

2025-01-27 Thread Neha Malcom Francis
uot;; }; + +&dmsc { + bootph-pre-ram; + + k3_sysreset: sysreset-controller { + compatible = "ti,sci-sysreset"; + bootph-pre-ram; + }; +}; -- Thanking You Neha Malcom Francis

Re: [PATCH 4/8] ram: k3-ddrss: Add support for a partial inline ECC region

2025-01-29 Thread Neha Malcom Francis
On 28-Jan-25 11:23 AM, Kumar, Udit wrote: On 1/27/2025 7:52 PM, Neha Malcom Francis wrote: Instead of defaulting to choosing the entire DDR region when enabling inline ECC, allow picking of a range within the DDR space using DT to enable. It expects such a node within the memory node, in the

Re: [ANN / RFC] Regular community calls?

2025-01-14 Thread Neha Malcom Francis
t's at a better time for other parts of the world. Thanks for initiating this, I think it will be helpful for most of us. For folks in the IST region, this is a pretty okay time in the evening so sounds good at least for me. -- Thanking You Neha Malcom Francis

Re: [PATCH] tools: binman: ti_board_cfg: Fix pylint error over 'br'

2025-02-12 Thread Neha Malcom Francis
Hi Tom, On 13/02/25 03:53, Tom Rini wrote: > With a newer pylint, we get a warning that 'br' could be used before > assignment. Fix this by declaring br first as an empty bytearray. > > Signed-off-by: Tom Rini > --- > Cc: Neha Malcom Francis > Cc: Simon Gla

Re: [PATCH] power: regulator: tps65941: Fix voltage calculation for ldo

2025-02-11 Thread Neha Malcom Francis
_LDO_VOLT_MASK 0x7E > #define TPS65941_LDO_VOLT_MAX_HEX0x3A > #define TPS65941_LDO_VOLT_MIN_HEX0x4 > #define TPS65941_LDO_VOLT_MAX330 > +#define TPS65941_LDO_VOLT_MIN60 > #define TPS65941_LDO_MODE_MASK 0x1 > #define TPS65941_LDO_BYPASS_EN 0x80 > #define TP65941_BUCK_CONF_SLEW_MASK 0x7 Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH] configs: am68_sk_r5: Enable AVS config

2025-03-16 Thread Neha Malcom Francis
721S2_R5_EVM=y > > CONFIG_ESM_K3=n > -CONFIG_K3_AVS0=n > CONFIG_ESM_PMIC=n > CONFIG_DM_REGULATOR_TPS65941=n > CONFIG_PMIC_TPS65941=n -- Thanking You Neha Malcom Francis

[PATCH] arm: mach-k3: k3-ddr.h: Include spl.h

2025-03-19 Thread Neha Malcom Francis
Include spl.h to avoid definition errors in custom builds. Fixes: commit bc07851897bd ("board: ti: Pull redundant DDR functions to a common location and Fixup DDR size when ECC is enabled") Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/include/mach/k3-ddr.h | 2 ++ 1 file

Re: [PATCH 1/3] mux: Kconfig: Add Kconfig options for MUX_MMIO

2025-03-19 Thread Neha Malcom Francis
nly depends on a couple of configs (is not selecting them) and I don't see it doing anything in the code. -- Thanking You Neha Malcom Francis

Re: [PATCH 1/3] mux: Kconfig: Add Kconfig options for MUX_MMIO

2025-03-20 Thread Neha Malcom Francis
register. For N bit wide bitfields, there will be 2^N possible > + multiplexer states. > + > config MUX_MMIO > bool "MMIO register bitfield-controlled Multiplexer" > depends on MULTIPLEXER && SYSCON -- Thanking You Neha Malcom Francis

[PATCH v3 1/3] drivers: misc: k3_bist: Add K3 BIST driver

2025-03-28 Thread Neha Malcom Francis
Add a driver for the BIST module that support triggering of both PBIST (Memory BIST) and LBIST (Logic BIST) tests. Also expose the relevant operations and functions that would be required for an end user to trigger the tests. Signed-off-by: Neha Malcom Francis --- Changes since v2: - code

[PATCH v3 0/3] Add support for K3 BIST

2025-03-28 Thread Neha Malcom Francis
/latest/exports/docs/sdl/sdl_docs/userguide/j721e/modules/pbist.html#introduction [2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/sdl/sdl_docs/userguide/j721e/modules/lbist.html#introduction Neha Malcom Francis (3): drivers: misc: k3_bist: Add K3 BIST

[PATCH v3 2/3] arm: mach-k3: j784s4_init: Trigger LBIST and PBIST on MAIN R5 2_0

2025-03-28 Thread Neha Malcom Francis
Trigger all tests of PBIST and LBIST using appropriate calls to set the core under test (MAIN R5 2_0) to it's required state. Signed-off-by: Neha Malcom Francis --- Changes since v2: - move MCU4_0 BIST code into a separate function arch/arm/mach-k3/j784s4/j784s4_init.c

Re: [PATCH v3 3/3] DONOTMERGE: arm: dts: k3-j784s4-main: Add PBIST_14 node

2025-03-31 Thread Neha Malcom Francis
On 28/03/25 19:48, Nishanth Menon wrote: > On 18:01-20250328, Neha Malcom Francis wrote: >> Add DT node for PBIST_14 that is responsible for triggering the PBIST >> self-tests for the MAIN_R5_2_x cores. >> >> Signed-off-by: Neha Malcom Francis >> --- &

Re: [PATCH] mach-k3: common_fdt: Fix Label Issue

2025-04-07 Thread Neha Malcom Francis
52,7 +152,7 @@ int fdt_fixup_reserved(void *blob, const char *name, >>   } >>   } >>   -add_carveout: >> +add_carveout: ; >>   struct fdt_memory carveout = { >>   .start = new_address, >>   .end = new_address + new_size - 1, > > My suggestion will be to move this struct at start of function. > > and change only size here > > carveout.end = new_address + new_size - 1; > > -- Thanking You Neha Malcom Francis

Re: [PATCH v6 05/12] power-domain: Add refcounting

2025-04-16 Thread Neha Malcom Francis
er_domain *power_domain) >> +static inline int power_domain_off_lowlevel(struct power_domain >> *power_domain) >> { >> return -ENOSYS; >> } >> #endif >> >> +/** >> + * power_domain_off - Disable power to a power domain (ignores the actual >> state >> + *of the power domain) >> + * >> + * @power_domain: A power domain struct that was previously successfully >> + * requested by power_domain_get(). >> + * Return: a negative error code upon error during the transition, 0 >> otherwise. >> + */ >> +static inline int power_domain_off(struct power_domain *power_domain) >> +{ >> +int ret; >> + >> +ret = power_domain_off_lowlevel(power_domain); >> +if (ret == -EALREADY || ret == -EBUSY) >> +ret = 0; >> + >> +return ret; >> +} >> + >> /** >> * dev_power_domain_on - Enable power domains for a device . >> * >> diff --git a/test/dm/power-domain.c b/test/dm/power-domain.c >> index >> 896cf5b2ae9d26701150fad70e888f8b135a22b0..8a95f6bdb903be9d1993528d87d5cae0075a83e4 >> 100644 >> --- a/test/dm/power-domain.c >> +++ b/test/dm/power-domain.c >> @@ -27,7 +27,7 @@ static int dm_test_power_domain(struct unit_test_state >> *uts) >> >> ut_assertok(uclass_get_device_by_name(UCLASS_MISC, "power-domain-test", >>&dev_test)); >> -ut_asserteq(1, sandbox_power_domain_query(dev_power_domain, >> +ut_asserteq(0, sandbox_power_domain_query(dev_power_domain, >>TEST_POWER_DOMAIN)); >> ut_assertok(sandbox_power_domain_test_get(dev_test)); >> >> > -- Thanking You Neha Malcom Francis

Re: [PATCH v6 05/12] power-domain: Add refcounting

2025-04-16 Thread Neha Malcom Francis
On 15/04/25 18:13, Miquel Raynal wrote: > On 15/04/2025 at 15:29:09 +0530, Neha Malcom Francis wrote: > >> Hi Miquel >> >> On 15/04/25 15:20, Miquel Raynal wrote: >>>>> Francesco, are you also testing on K3 platforms? >>>>> >>>

Re: [PATCH v6 05/12] power-domain: Add refcounting

2025-04-16 Thread Neha Malcom Francis
erfaces, as they have a similar pattern as on k3 platform: a > single power domain node and one cell for figuring out which PD to > enable. > > The uclass does not save any data, so I don't have an immediate fix to > propose. Let me dig a bit more into that and find a solution. > Thanks! Meanwhile, could we revert this patch to keep the platforms from breaking? > Thanks, > Miquèl -- Thanking You Neha Malcom Francis

Re: [PATCH 1/2] include: env: ti: mmc.h: Find DTB files in dtb directory for AM57xx

2025-04-24 Thread Neha Malcom Francis
> "envboot=mmc dev ${mmcdev}; " \ > "if mmc rescan; then " \ > "echo SD/MMC found on device ${mmcdev};" \ Are there any other boards that use .h instead of .env other than AM57x? Would they break with this change? -- Thanking You Neha Malcom Francis

Re: [PATCH 1/2] power-domain: Add support for refcounting (again)

2025-04-25 Thread Neha Malcom Francis
4 +163,5 @@ U_BOOT_DRIVER(sandbox_scmi_devices) = { > .priv_auto = sizeof(struct sandbox_scmi_device_priv), > .remove = sandbox_scmi_devices_remove, > .probe = sandbox_scmi_devices_probe, > + .flags = DM_FLAG_DEFAULT_PD_CTRL_OFF, > }; [...] Thanks for working on this quickly, I've booted it on j784s4-evm and works fine! And I am good with this approach using subdomains. Tested-by: Neha Malcom Francis (on j784s4-evm) -- Thanking You Neha Malcom Francis

Re: [PATCH v6 05/12] power-domain: Add refcounting

2025-04-14 Thread Neha Malcom Francis
; which is this patch. >> >> And assuming it's the same failure I got reported this morning by one of >> my coworkers, we just get: >> U-Boot SPL 2025.04-01050-ga40fc5afaec0 (Apr 14 2025 - 07:31:32 +) >> SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)') This is not the failure I am seeing, we hang before console comes up so no prints. Looks like the different failure signature is due to TIFS (SYSFW) firmware being different (v9.2.7 vs. 11.0.4) > I have not tried reverting that commit yet, but I do have the same > failure. > > Francesco > -- Thanking You Neha Malcom Francis

Re: [PATCH v6 05/12] power-domain: Add refcounting

2025-04-15 Thread Neha Malcom Francis
now what board/SoC was used for the test, so I > can look the relevant driver up. Booted on j784s4_evm https://gist.github.com/nehamalcom/b09687a523bec89f9df3537fdd99b6f3 Currently debugging on my build where I hang in console_init itself, I think the path for failure is different here, will confirm. > > Thanks for your help, > Miquèl > > --- > -- Thanking You Neha Malcom Francis

Re: [PATCH v6 05/12] power-domain: Add refcounting

2025-04-15 Thread Neha Malcom Francis
al driver probe (ns16550_serial_probe) tries to do a readb() and fails, this could possibly be because the device was not powered on to begin with. Whereas in another case (what Francesco is seeing), this issue is not run into. > > Thanks, > Miquèl -- Thanking You Neha Malcom Francis

[PATCH v2] board: ti: j784s4: Update Resource Management configs

2025-02-27 Thread Neha Malcom Francis
Malcom Francis --- Sanity boot log: https://gist.github.com/nehamalcom/ef40be06080cb5bc4d1be881690aaebb Changes since v1: - updated commit message with version and explanation - added sanity boot log board/ti/j784s4/rm-cfg.yaml | 24 board/ti/j784s4/tifs-rm-cfg.yaml

[PATCH] board: ti: j784s4: Update Resource Management configs

2025-02-26 Thread Neha Malcom Francis
would not be enough for all such use cases for RTOS and Linux, thus sharing of resources in needed. Signed-off-by: Vaishnav Achath [n-fran...@ti.com: rebased and sent on behalf] Signed-off-by: Neha Malcom Francis --- board/ti/j784s4/rm-cfg.yaml | 24 board/ti

Re: [PATCH v3 03/15] arm: mach-k3: j721s2: Update SoC auto-gen data to enable Ethernet boot

2025-02-25 Thread Neha Malcom Francis
clk_clk"), > @@ -400,7 +452,7 @@ static const struct dev_clk soc_dev_clk_data[] = { > > const struct ti_k3_clk_platdata j721s2_clk_platdata = { > .clk_list = clk_list, > - .clk_list_cnt = 105, > + .clk_list_cnt = ARRAY_SIZE(clk_list), > .soc_dev_clk_data = soc_dev_clk_data, > - .soc_dev_clk_data_cnt = 124, > + .soc_dev_clk_data_cnt = ARRAY_SIZE(soc_dev_clk_data), > }; > diff --git a/arch/arm/mach-k3/r5/j721s2/dev-data.c > b/arch/arm/mach-k3/r5/j721s2/dev-data.c > index df70c5e5d7c..b78550707c5 100644 > --- a/arch/arm/mach-k3/r5/j721s2/dev-data.c > +++ b/arch/arm/mach-k3/r5/j721s2/dev-data.c > @@ -5,7 +5,7 @@ > * This file is auto generated. Please do not hand edit and report any issues > * to Dave Gerlach . > * > - * Copyright (C) 2020-2021 Texas Instruments Incorporated - > https://www.ti.com/ > + * Copyright (C) 2020-2025 Texas Instruments Incorporated - > https://www.ti.com/ > */ > > #include "k3-dev.h" > @@ -47,6 +47,7 @@ static struct ti_lpsc soc_lpsc_list[] = { > }; > > static struct ti_dev soc_dev_list[] = { > + PSC_DEV(29, &soc_lpsc_list[0]), > PSC_DEV(35, &soc_lpsc_list[0]), > PSC_DEV(108, &soc_lpsc_list[0]), > PSC_DEV(109, &soc_lpsc_list[0]), -- Thanking You Neha Malcom Francis

<    2   3   4   5   6   7   8   >