Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2903131ybl; Fri, 20 Dec 2019 00:08:02 -0800 (PST) X-Google-Smtp-Source: APXvYqwFYjKwT2UlDgCujgIxwl2no92Tw/noERg4O/Y7k12p30nfX9OyKtU+8In+2XkGOro4lydh X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr13940586otq.63.1576829282211; Fri, 20 Dec 2019 00:08:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576829282; cv=pass; d=google.com; s=arc-20160816; b=mBso+ds5njHh5HrYEp3iX/z8STiloU/RdMZhiDmIFtBTNJXyUAg+QIXgLNe0kDfbhY JeQSMP6UePrGZkXWT/Q5nnOJne4Nrz5X8cjqd7t8LpBSY+DG2XuZwqLb3y4nCE7yaM+n tFhzuWBSzO38eSp8I4PFBhA5lGDd3m38s9YB+xF0J2rRrx7bt+bfTbXcwVJ5XeXSmzDi 9tn1/0+9hIGekU4FKjpInDmfui8huzWPSd4wyTceqRpJ7v4htwcU0NEqfrVKHmEw9QkB AvIuLhIANp2hB4hY9t0/Idneb/7z0CzTYVJcIDx9ph/zKB83REUfPHIKKtyVzOfNOGoT 7OyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=1wRRDOOXWawmFvFi5W+shZcITERvWyl2faS1S9gvxH8=; b=OQTHKrKxHk5myuNvxxkV3m5tBXJPDVru6V4QoWrSq9iIZ9WhCCtdrm8iCxuFSc+tgy YdvqzvE7+HcHkq+gW4/64IYgINJ6djJ96++1tBobjbqy+oK/61hYi64YCSlIyNaHIJwv KniT0xWZhp5/QDU6CuX6HZz5Jr0j4dKg8EuXQ88rswEfgijtbmTtuwVBpJhOZ4y3sJeR NNLOBABPRTqQb1WEeQemuJCqXGvrlb3/aI7B39XcPNDc/kmnz/XAmoEdRSaSDbm1JXk2 z6n8B8gipiE4U1jJpOf31GxltsSs8aa6Pc8pNxPcdexyn43PF0A5xtrvlzUwlv3CBvei PW0w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=QI6Xspj4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si4316625oii.60.2019.12.20.00.07.41; Fri, 20 Dec 2019 00:08:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=QI6Xspj4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726210AbfLTIHj (ORCPT + 99 others); Fri, 20 Dec 2019 03:07:39 -0500 Received: from mail-eopbgr140087.outbound.protection.outlook.com ([40.107.14.87]:32686 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725965AbfLTIHi (ORCPT ); Fri, 20 Dec 2019 03:07:38 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A3z7sxgjcgOeSsRD7IPKuNtcHur/ZedOBQWSkP6qp5w/hvbSnUhbukEUp1+1iC1FPnhEQGofHExZDFMl0M4u4GQJyGnpzBd3yODdn9v9c1jXdhhBqbPKg6n6laTLzY361N/AkuW53ncyI0ukBMpBie3xzONG/XqShUfFscgeMb1pYyHlbFaPVl5N3CbMhG3HSckxyk8p+KzLY5lXb9/lAqrjET1149SUArDOLaS4tH8aZ44xUbrRX1jXQ+8bnKAvBIuIEidre+ZFLG3FfKvpp2siD0cFD1vybnBjJ+lCBRamUu4hl5kAmHZN4T7JZnazbcuPmvTJoLyrBbtIsxV0Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1wRRDOOXWawmFvFi5W+shZcITERvWyl2faS1S9gvxH8=; b=jfxHc9ai43bcbutdD6k4hoqhZ3gTPdPG5AAQXxtGjJYMKnK1rxpHsB/TzPR7/XCLvAbsHtypalWIVlXrMM9HzGXQbcRym6hJLmoNcStihKhb3uxYX7qLhAmqn61dLqp1oU9QOGLRY9Y8qQwTHEJIjeIzOsF0kMC3mO9okhR2YFhIqiO0VDjgSjmmMDnzbJ8v6d+S9lqG974biUdmbqXAKJ2SqZgJCwSXloua/BNzHhxrvKH2fMIXrJZX6gQ2aDIZuewVVYmS920WoPgULltl2GLheJPTIRYEkBnokZbkkyPueubNs7G6oh7oQZEddqOeCB4b6HPwdxBPFBnUJX8hzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1wRRDOOXWawmFvFi5W+shZcITERvWyl2faS1S9gvxH8=; b=QI6Xspj4FVLLPGm4Q41Y50nUtvpFpz1u4Yp0GC0VM9v0RZEw82uZBD6Ax6L5xdErqVTcT4IhLtYLRVJiFJegZNNA5sPQ3B0gn3NPNo28Q35KpAK3ZJKF9wNclc0vmomG30M42OlL1tb62yjgr5U+kMLv3BhGcLmybnzR2zUInY0= Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) by VI1PR0402MB2832.eurprd04.prod.outlook.com (10.175.22.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Fri, 20 Dec 2019 08:07:34 +0000 Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::64c8:fba:99e8:5ec4]) by VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::64c8:fba:99e8:5ec4%6]) with mapi id 15.20.2559.016; Fri, 20 Dec 2019 08:07:34 +0000 From: Horia Geanta To: Fabio Estevam , Adam Ford CC: "linux-arm-kernel@lists.infradead.org" , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , dl-linux-imx , Catalin Marinas , Will Deacon , Aymen Sghaier , Herbert Xu , "David S. Miller" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-crypto@vger.kernel.org" , Theodore Ts'o Subject: Re: [PATCH V2 3/3] arm64: defconfig: Enable CRYPTO_DEV_FSL_CAAM Thread-Topic: [PATCH V2 3/3] arm64: defconfig: Enable CRYPTO_DEV_FSL_CAAM Thread-Index: AQHVscuAzDa0y7DjIUSGaSZVWPlDjw== Date: Fri, 20 Dec 2019 08:07:34 +0000 Message-ID: References: <20191213153910.11235-1-aford173@gmail.com> <20191213153910.11235-3-aford173@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=horia.geanta@nxp.com; x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: a2594434-e66a-43f3-9106-08d78523aba2 x-ms-traffictypediagnostic: VI1PR0402MB2832:|VI1PR0402MB2832: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 025796F161 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(366004)(39860400002)(376002)(346002)(136003)(189003)(199004)(4326008)(44832011)(66446008)(66476007)(64756008)(66556008)(7416002)(91956017)(478600001)(66946007)(81166006)(81156014)(8676002)(8936002)(86362001)(9686003)(53546011)(33656002)(55016002)(52536014)(54906003)(316002)(110136005)(2906002)(76116006)(7696005)(71200400001)(5660300002)(6506007)(186003)(26005);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB2832;H:VI1PR0402MB3485.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WfQ8ToIh0zYfUfEFnVhGnI5P/QihfhSMtw/GlHuKXZhRQLaxmIMSTH5i+E8WPletVoyEtW19UoyN7XB8sv/pzgi+kiZ33sat1lGMFZCK79woIVu5Fs3UVj296y6tU2ot0vCb7QlEQ1CSsGfeQQVMCj7tnxPLZNWytFRhrmb66ZHfUMjYUvIIKVp+58XlaVHjulhawX8sO3FNxSGdraLB5inJ+i43TQH/K/bbVuGGM8XcpVzifV29jpMfMumBCqTGkTf5TfJM5moLgyNmoyCmw6tKRqWxIe4djcXdVIVn8/PNKM0EYCFfCWNl6vbbjP05iTqr8qQu+ufvwL9MWDPr/LKWmx3swholi2vyxPXsFVfblRBnCT8tc8qhC9BklNENTi0eCuy8Zs4WvGl1mtDss2edHn5gwODznChlET1zxKLA9mcm1JDiVOHop43/XgOl Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2594434-e66a-43f3-9106-08d78523aba2 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2019 08:07:34.4904 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: peDjrjfV/quQQ8bOvYdtcIcFqri+oy+W6VDaUegtGT4V6ZPj8vLmoPJCjYMlYKu20VRHurTssIx8H3kT9ugJhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2832 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 12/17/2019 8:25 PM, Fabio Estevam wrote:=0A= > Hi Adam,=0A= > =0A= > On Tue, Dec 17, 2019 at 10:07 AM Adam Ford wrote:=0A= > =0A= >> Out of curiosity, what is the rule for when things are 'm' vs 'y'?=0A= >>=0A= >> In the Code Aurora repo, it is set to 'y' and the mainline kernel for=0A= >> the i.MX6/7, the imx_v6_v7_defconfig is also set to 'y' which is why I= =0A= >> used 'y' here.=0A= >>=0A= >> I can do a V3 to address the other items you noted, but I want to=0A= >> understand the rules about the defconfig so I don't make the same=0A= >> mistake again.=0A= > =0A= > In arch/arm64/configs/defconfig we try to select modules whenever possibl= e.=0A= > =0A= > The exceptions are drivers that are vital for boot such as PMIC,=0A= > pinctrl, clks, etc.=0A= > =0A= > The CAAM driver does not fall into this category, so selecting it as=0A= > module is preferred here.=0A= > =0A= One comment here though.=0A= =0A= CAAM's RNG is not "vital" for booting, but IIUC it would decrease the boot = time=0A= since it feeds the entropy pool through the hwrng interface.=0A= =0A= Once RNG driver is fixed, would it be acceptable to add:=0A= CONFIG_HW_RANDOM=3Dy=0A= CONFIG_CRYPTO_DEV_FSL_CAAM=3Dy=0A= in arm64 defconfig?=0A= =0A= Thanks,=0A= Horia=0A= =0A=