lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180820141026.0e7208ae@bbrezillon>
Date:   Mon, 20 Aug 2018 14:10:26 +0200
From:   Boris Brezillon <boris.brezillon@...tlin.com>
To:     Naga Sureshkumar Relli <nagasure@...inx.com>
Cc:     "richard@....at" <richard@....at>,
        "absahu@...eaurora.org" <absahu@...eaurora.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "marek.vasut@...il.com" <marek.vasut@...il.com>,
        "kyungmin.park@...sung.com" <kyungmin.park@...sung.com>,
        "frieder.schrempf@...eet.de" <frieder.schrempf@...eet.de>,
        "linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
        "miquel.raynal@...tlin.com" <miquel.raynal@...tlin.com>,
        "nagasureshkumarrelli@...il.com" <nagasureshkumarrelli@...il.com>,
        Michal Simek <michals@...inx.com>,
        "computersforpeace@...il.com" <computersforpeace@...il.com>,
        "dwmw2@...radead.org" <dwmw2@...radead.org>,
        "peterpandong@...ron.com" <peterpandong@...ron.com>
Subject: Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for
 Arasan NAND Flash Controller

On Mon, 20 Aug 2018 10:49:38 +0000
Naga Sureshkumar Relli <nagasure@...inx.com> wrote:

> 
> Thanks for your suggestion and are you saying something like Marvell parser patterns for nfcv1 as below?
> 
> static const struct nand_op_parser marvell_nfcv1_op_parser = NAND_OP_PARSER(
> 	/* Naked commands not supported, use a function for each pattern */
> 	NAND_OP_PARSER_PATTERN(
> 		marvell_nfc_read_id_type_exec,
> 		NAND_OP_PARSER_PAT_CMD_ELEM(false),
> 		NAND_OP_PARSER_PAT_ADDR_ELEM(false, MAX_ADDRESS_CYC_NFCV1),
> 		NAND_OP_PARSER_PAT_DATA_IN_ELEM(false, 8)),
> 	NAND_OP_PARSER_PATTERN(
> 		marvell_nfc_erase_cmd_type_exec,
> 		NAND_OP_PARSER_PAT_CMD_ELEM(false),
> 		NAND_OP_PARSER_PAT_ADDR_ELEM(false, MAX_ADDRESS_CYC_NFCV1),
> 		NAND_OP_PARSER_PAT_CMD_ELEM(false),
> 		NAND_OP_PARSER_PAT_WAITRDY_ELEM(false)),
> 	);
> That means, a separate hook for each pattern, is that you are suggesting?

Yes.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ