Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2351397pxu; Sat, 17 Oct 2020 22:49:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfk70E3l1nAdQ/t5LW0fSnobLgIOZVZj+HTCO4fsaJdwKfPKoNo4AdaBzGGQHrHpbX6/U4 X-Received: by 2002:aa7:dd01:: with SMTP id i1mr12464623edv.84.1603000165577; Sat, 17 Oct 2020 22:49:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1603000165; cv=pass; d=google.com; s=arc-20160816; b=M03w5IhYkeNTDAAYm8uKn/J9X955ofg9atOOBbfTXf46TN6X51lyUprilAvncEpzCg ZSvaCe/Fw0eh3FBnRe3xCXuhhNLXjhHLR5M/B6yn4DidENaQBPGjCUe0LOdRl9iNaea0 EtDuxQQ+O+kQpjeiQys+sDtguoS9OZF9i09kukBzSk5muOKsWWggQ3Si3Sqq1pGa1rVk T/C3amkyv70aSBcbvsZ3b5LwAHYVeIWFqZ5PegHdGBrboFujwOx5fR090v9kiUoShnFu qek/sVQyZhJx8f6dkIVRKNHisCAu3X6DP5xnC/0l0LYreGkgVQfKd3XZVt6LpWEa/VJR LsvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=0/PM0WvWkwaP9bFVqaAhA6YxYXHEG2DOoo5mzcwkEhI=; b=o7uXKLTLieaOcW5b3fZb638rjpYrCnqzRwb1h4T7Fa1ZuNcMr33FIe3SGVWN2m85EI vC6QmOOgWRsCQcGA9lSUnpMPkGoa1T+v+vZGHaky7ehf6qJcIyvm5WOd11Aa6Lhv/K4v rd/xslseWjqQIJ05gOJrJPSiHENRbSpR6pKcphiId9KJ4ECGUIDmhpslNFfe7OPgFN1U 4XGEkuJXGjcny06kSeQ9anTO+omCtZ3EP71A9xX2Epff0p9fTwRf8Xf8fx5Ja2dT32Sf xb3XAGX7xf7AEnMNHpJlY6SmjqSBT7j0LLlaBCR/qWkZ7/XZ9Do5PG/uOEu2TSQZG53L r7Gg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=L0iP8CgK; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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. [23.128.96.18]) by mx.google.com with ESMTP id f16si5327178ejx.511.2020.10.17.22.49.01; Sat, 17 Oct 2020 22:49:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=L0iP8CgK; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726333AbgJRFVr (ORCPT + 99 others); Sun, 18 Oct 2020 01:21:47 -0400 Received: from mail-eopbgr80040.outbound.protection.outlook.com ([40.107.8.40]:61579 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726214AbgJRFVp (ORCPT ); Sun, 18 Oct 2020 01:21:45 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Eehf4Y6c62Km+tKwvGUKzyMv8d18gkjhARRJjvZMeg28wU51aqoiafLI/Y3k4V8hLhPSYOqS/fWOZk2qr73Ix/ATQfdaNe+4ykl5Wv+D/9HN+PBZogh9XtUrZFo0N+O8vUt/9OO61vw5wZZV+DtHMYKKErZEOt0u7asQQTtvfJUAWrPBgvax4E0P59luiB3QEhtsBgz38gFY09R5R6KPDFPCUbA8WqciWTYBGjMHLYt9TqnL9rmAK4BfgGzvdRnIsKt7jcNDnoujL8MNXuEkI4Ycax6pW5Crd7PK6Pib33JPhKFm7Rx0kUgrvFimN+toBL/5Hqct3Ua/z0FSy4MWOw== 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=0/PM0WvWkwaP9bFVqaAhA6YxYXHEG2DOoo5mzcwkEhI=; b=NQkvksOIjZ6OanBiFtlCIh9oZdvzR3h0sknlNKSsWt2io4gwXekY+PiuBBAu/cOLLpkzbcS/SOuypJo6rvCrXg/3OMHX0t5BFS9n0sF5teHab3PRZgJzfYkgbhPwxF2vt2+V5iR63T1K+X5KDv0S0fCc+Du6DIpAdRqDUJD6wJeAOX1/eg7sEF4f293uOg5zXK8O8K1eFgDEv8Fzqq2ICvXPRk4HOuDFnG9azXMBtHO6CD4J0rKWVY70qchWl6AFuEsilO+86Eei4L72iFSNhYDJEPwP+TCORB4BGSxnVOZCOVlpVD/zHKYqk4vSs2LKtmpFrqGeY6Kw9d24AO+b6w== 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=0/PM0WvWkwaP9bFVqaAhA6YxYXHEG2DOoo5mzcwkEhI=; b=L0iP8CgKImtk93SgyNrXpODSApeun6DV0+c9qwAafonwdn1ESkzIvtZzlEx5pw8KsvlwNUYdH4ZewkVrehF/KJQc0rQCgQi0VPdzJag5I07zRbCYP8QKgq3umkoXqQW9NW2BLZviB234Aumqqjuz27jzmvoe14R0kPWmOj9vw3Y= Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AS8PR04MB7989.eurprd04.prod.outlook.com (2603:10a6:20b:28b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.28; Sun, 18 Oct 2020 05:21:29 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::546f:92f0:f3c5:a148]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::546f:92f0:f3c5:a148%7]) with mapi id 15.20.3477.028; Sun, 18 Oct 2020 05:21:29 +0000 From: Aisheng Dong To: Shawn Guo , "Franck Lenormand (OSS)" , Arnd Bergmann CC: "s.hauer@pengutronix.de" , "festevam@gmail.com" , "kernel@pengutronix.de" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx , Abel Vesa , Anson Huang , "linux@rempel-privat.de" , Leonard Crestez , Daniel Baluta , Joakim Zhang , Peng Fan , "linux-edac@vger.kernel.org" , "mchehab@kernel.org" , Borislav Petkov , "tony.luck@intel.com" Subject: RE: [PATCH v2 5/5] soc: imx8: Add the SC SECVIO driver Thread-Topic: [PATCH v2 5/5] soc: imx8: Add the SC SECVIO driver Thread-Index: AQHWX3KA8ts8/b6ieEuKkqNeKsfG0Kk/mzuAgF3BhDA= Date: Sun, 18 Oct 2020 05:21:28 +0000 Message-ID: References: <1595344835-67746-1-git-send-email-franck.lenormand@oss.nxp.com> <1595344835-67746-6-git-send-email-franck.lenormand@oss.nxp.com> <20200819133136.GB7114@dragon> In-Reply-To: <20200819133136.GB7114@dragon> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; x-originating-ip: [92.121.68.129] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 53a15e3a-994f-4292-126f-08d87325aae6 x-ms-traffictypediagnostic: AS8PR04MB7989: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:15; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Xbl1zhlyc+h4CFzmUh8dpxZsW0mqrEO8To1UQ9QICp0klzH9UChrBe8yrijkCdoxlVzriKwviM0TW0KTNBnn6nx7UgfRLNzRWeBVOMG9sHJaOtkM7xMCGIPrLK34JoMbNS/1kHgAfyJVlY0o895+/yZFwnftUNT8vFUH96viMQSJMFMo1GR3NUoX5oReem7myj1aYNsTj4yZozPdo/lrPdZdSbNueQLUtARP8vpS0Tn29iSbUA+XHu3OPDIj+vbe+EU0qjDGqfmqA55QWmdSMlsLrjz+GZ+4NgUylDVk4Oog1egDM+8ssZy4WWJsFoVEyqT64dknGYYWdFXJPpo8mA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4966.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(366004)(39850400004)(346002)(396003)(376002)(7416002)(55016002)(7696005)(83380400001)(54906003)(86362001)(44832011)(8676002)(4326008)(110136005)(6506007)(316002)(30864003)(478600001)(8936002)(9686003)(33656002)(71200400001)(66446008)(2906002)(66556008)(52536014)(64756008)(186003)(76116006)(66476007)(66946007)(26005)(5660300002)(559001)(579004);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: tOhDfxjfNtmFoJHcXgzhKEZ85cSm7vXnv8vsRCEPrXe5Pb0EoG0UjR8YXTM0LU6sX0tvlk9/BTTBh15tgaLle+fxFngXOR/8AdHzu1bk7FojnJDMFYKDcU2WRomlMmYvK5tA4SI+kni58ngfA+YR4Yl7KlCNAcku1FxGWuFPvOJtgigtkJDZ/JgKVAYP04xAwYRZVdozXSmk5ybL83YbrcXiHF0ohJLG1wdiijfqeYC7b5rlq37MaahZ13eZ9OaxVI2elgUxYYlhNp+yDP0m6EpQIvMTmhVZ9nVVZHlKhSLVwDmb40BXp/phtsmiibIYOgRKm+kvV7UiXaKjRIYybJxYdIWM6Wo6Q6zl59WA5D0klFmEX751AtpxVr/Y91zySfmbKpq1cb0Wp7VYYeNABSxKO6C2+MFRLubsJfZJ273A0qp/v910W9MLkgpWclxK/FOTJRCAoGf+vM7743ISpOlI7et1KEAQV5amdC78M+JDAOo6a68VFb5RJTZf/fujZPJwh+u1OrTuMuMRn6dyMsPES+r3RD4WhOkuDsp/p2heMjqRnn+6wY+M+U5CxztrzrYPyrwgNY52ti9gD7LrxgIc774rql4LyJjfp4ndVKsjs4AZRd6F6/R91rH8SIr3Lv5KwusAt029myok1yHhuQ== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53a15e3a-994f-4292-126f-08d87325aae6 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2020 05:21:28.9415 (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: PVHndMTsSWieMBNkcMOLhvtVj4kB9MSCrrn215DpkdPuxm//3CKwCF23RbBhNDahyZ5DDlLm/PlYYhQTrHHvQQ== X-MS-Exchange-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