[PATCH v3] env: remove vars that are not in default env

2024-08-11 Thread Ravi Minnikanti
ed to env_set_default_vars() Without this change: Marvell>> env default boot_mode Marvell>> With the change: Marvell>> env default boot_mode WARNING: 'boot_mode' not in imported env, deleting it! Signed-off-by: Ravi Minnikanti --- Changes in v2: - Added env ut to test the scenari

[PATCH v2] env: remove vars that are not in default env

2024-08-09 Thread Ravi Minnikanti
env_test_env_cmd, 0); + int do_ut_env(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { struct unit_test *tests = UNIT_TEST_SUITE_START(env_test); -- 2.25.1 Thanks, Ravi On 8/9/24 08:58, Simon Glass wrote: > Hi Ravi, On Fri, 9 Aug 2024 at 09: 38, Ravi Minnikanti  com> wrote:

[PATCH] env: remove vars that are not in default env

2024-08-09 Thread Ravi Minnikanti
current env_set_default_vars() doesn't delete var that are not in the imported env. hashtable removes vars that are not in the imported env but present in the current env only if H_NOCLEAR flag is not set. This change is to avoid passing H_NOCLEAR flag if specific vars are passed to env_set_defa

Re: [EXTERNAL] Re: [PATCH 0/4] fs: ubifs: Fix crash and add safeguards

2024-08-05 Thread Ravi Minnikanti
vi > > > Hi all > > On Mon, Aug 5, 2024 at 10:49 AM Alexander Dahl wrote: >> >> Hello, >> >> Am Mon, Aug 05, 2024 at 07:28:19AM +0200 schrieb Heiko Schocher: >> > Hello Ravi, >> > >> > On 01.08.24 21:39, Ravi Minnikanti wrote: &g

Re: [EXTERNAL] Re: [PATCH 0/4] fs: ubifs: Fix crash and add safeguards

2024-08-01 Thread Ravi Minnikanti
Hi Heiko, Alexander, On 7/31/24 23:54, Heiko Schocher wrote: > Hello Alexander, On 01. 08. 24 08: 50, Alexander Dahl wrote: > Hei, > > Am > Thu, > Jul 04, 2024 at 10: 18: 55AM +0200 schrieb Alexander Dahl: >> Hello Heiko, >> > >> > Am Thu, Jul 04, 2024 at 06: 28: 31AM +0200 schrieb Heiko Schoc

[PATCH] ubifs: mount fails after power cycle

2024-07-30 Thread Ravi Minnikanti
When kernel uses file system encryption, fscrypt on UBIFS v5, after a hard power cycle UBIFS journal replay fails which results in mount failure. Failure logs: UBIFS: recovery needed UBIFS error (pid 0): ubifs_validate_entry: bad directory entry node UBIFS error (pid 0): replay_bud: bad node is

Re: [PATCH] mtd: nand: pxa3xx: Incorrect bitflip return on page read

2024-06-16 Thread Ravi Minnikanti
Hi Can this be merged? Let me know if I missed any process. Thanks, Ravi On 5/21/24 13:15, Michael Nazzareno Trimarchi wrote: > Hi Dario > > Can you add to next pull? > > Michael > > On Tue, May 21, 2024, 4:31 PM Ravi Minnikanti > wrote: > >> Hi, >&

Re: [EXTERNAL] Re: [PATCH] mtd: nand: pxa3xx: Incorrect bitflip return on page read

2024-05-21 Thread Ravi Minnikanti
Hi, Can you please merge this PR, if there are no more review comments? Thanks, Ravi On 5/6/24 11:28, Michael Nazzareno Trimarchi wrote: > -- > Hi Ravi > > On Mon, May 6, 2024 at 7:33 PM Ravi Minnikanti > wrot

Re: [PATCH] mtd: nand: pxa3xx: Incorrect bitflip return on page read

2024-05-06 Thread Ravi Minnikanti
On 5/6/24 00:35, Michael Nazzareno Trimarchi wrote: > Hi Ravi > > On Tue, Apr 30, 2024 at 6:25 AM Ravi Minnikanti > wrote: >> >> On 4/29/24 09:59, Michael Nazzareno Trimarchi wrote: >> >>> ---

Re: [EXTERNAL] Re: [PATCH] mtd: nand: pxa3xx: Incorrect bitflip return on page read

2024-04-29 Thread Ravi Minnikanti
On 4/29/24 09:59, Michael Nazzareno Trimarchi wrote: > -- > On Mon, Apr 29, 2024 at 6:22 PM Chris Packham wrote: >> >> On Sun, Apr 28, 2024 at 4:15 AM Ravi Minnikanti >> wrote: >>> >>>

[PATCH] mtd: nand: pxa3xx: Incorrect bitflip return on page read

2024-04-28 Thread Ravi Minnikanti
Once a page is read with higher bitflips all subsequent reads are returning the same bitflip value even though they have none. max_bitflip variable is not being reset to 0 across page reads. This is causing problems like incorrectly marking erase blocks bad by UBI and causing read failures. Verif