v2023.12.0

2023-12-18 Thread Sascha Hauer
Hi All, The time has come for the final release for this year. I am happy to announce barebox-2023.12.0. This release brings us support for the i.MX93 SoC. This support is fairly complete with DDR, ESDHC, network (Eqos, FEC), I2C, watchdog, GPIO, OCOTP and SPI support. Also there is another new So

[PATCH] doc: user: barebox: add missing empty lines

2023-12-18 Thread Stefan Kerkmann
ommit: ed433cbef99860b39dfbc2d36983026cced54583 change-id: 20231218-doc-missing-empty-lines-12a48d7dba82 Best regards, -- Stefan Kerkmann

Re: [PATCH] [ARM64][MMU] Fix mmu_early_enable VA->PA mapping

2023-12-18 Thread Sascha Hauer
Hi Lior, On Thu, Dec 14, 2023 at 04:04:31PM +, Lior Weintraub wrote: > Hi, > > The below patch fixes the mmu_early_enable function to correctly map 40bits > of virtual address into physical address with a 1:1 mapping. > It uses the init_range function to sets 2 table entries on TTB level0 an

[PATCH] ARM64: mmu: fix mmu_early_enable VA->PA mapping

2023-12-18 Thread Lior Weintraub
From 1b8f4ee9e29e722bbb0b7d0f7fed0ae213ef8637 Mon Sep 17 00:00:00 2001 From: Lior Weintraub Date: Mon, 18 Dec 2023 14:01:16 +0200 Subject: [PATCH] ARM64: mmu: fix mmu_early_enable VA->PA mapping Fix the mmu_early_enable function to correctly map 40bits of virtual address into physical address wi

[PATCH] fixup! ARM64: mmu: fix mmu_early_enable VA->PA mapping

2023-12-18 Thread Ahmad Fatoum
Fix warnings and reformat: - fix whitespaces in accordance with kernel coding style - mark locally-used function static to fix warning - remove cast to fix -Wint-conversion warning - Use C-style comments as used elsewhere Signed-off-by: Ahmad Fatoum --- arch/arm/cpu/mmu_64.c | 14 ++

Re: [PATCH] ARM64: mmu: fix mmu_early_enable VA->PA mapping

2023-12-18 Thread Ahmad Fatoum
On 18.12.23 13:05, Lior Weintraub wrote: > From 1b8f4ee9e29e722bbb0b7d0f7fed0ae213ef8637 Mon Sep 17 00:00:00 2001 > From: Lior Weintraub > Date: Mon, 18 Dec 2023 14:01:16 +0200 > Subject: [PATCH] ARM64: mmu: fix mmu_early_enable VA->PA mapping > > Fix the mmu_early_enable function to correctly ma

[PATCH v1] ARM64: mmu: fix mmu_early_enable VA->PA mapping

2023-12-18 Thread Lior Weintraub
From 34dac7e73e486e864cfba5cee0e503a9641a502d Mon Sep 17 00:00:00 2001 From: Lior Weintraub Date: Mon, 18 Dec 2023 16:09:28 +0200 Subject: [PATCH v1] ARM64: mmu: fix mmu_early_enable VA->PA mapping Fix the mmu_early_enable function to correctly map 40bits of virtual address into physical address

RE: [PATCH] ARM64: mmu: fix mmu_early_enable VA->PA mapping

2023-12-18 Thread Lior Weintraub
Thanks Ahmad, I think we can make the init_range function clearer: void init_range(size_t total_level0_tables) { uint64_t *ttb = get_ttb(); uint64_t addr = 0; while(total_level0_tables--) { early_remap_range((void *)addr, L0_XLAT_SIZE, MAP_UNCACHED);

[PATCH] habv4: Fix parsing of unresonable events.

2023-12-18 Thread Christian Melki
An unknown root cause made data look like events (0xdb) with very long event lengths. This was causing very long printouts of bogus stuff in the console. While the root cause needs to be found and fixed, there is no need of parsing events with abnormal lengths. Also stop parsing if length exceeds