Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4054410imu; Fri, 30 Nov 2018 10:10:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/WgP+qL/2kUo8/p10qpjkfXhmsus+/R4uHeUJ/sYHpiDB4eyraF9leG2O4vch1RUrx8z814 X-Received: by 2002:a63:cf08:: with SMTP id j8mr5735078pgg.113.1543601401283; Fri, 30 Nov 2018 10:10:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543601401; cv=none; d=google.com; s=arc-20160816; b=o+IG+d0WcS9L8h5GU7ZmfDj28zKgJ8OrMYatzdrzppPEbxBP3sQF560vOV+4kvyjQK Kae7+4BrNqEPxBH5eM8FVO/7cXL2TgGKZvJtgqm7Aza6+QeC4M8dMYKua0xongH7gSkB Ls9G6cZzwtLxWA7otqCbSQX1hbHbgkxZqJM0US4UlQc2oR475C6fJ5UPp6KDvWwDSXqy SY8Itv02v7eiVF3Svq8yiSbS/FELccCyeX/ji8Gn1oYNi7Zdqr46zFRifehxmcbEIMVI tY2R6TseHtCsylXis002kaEcifkVLzsCZ9U8umG1tp3l3d4Enza17PWgkIuUX63BcPT8 RCIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=tFLSl4wfcTBopZZsbrx/LMK/joa7CFVbLXBZUhF/QUA=; b=uzIHCOcp2B9NXdZegrDWf+rgww1kv4xLjOvjMPj1NZ5ZdNeJQB3Qq+aPeQC7qHWdAg Q7qwRd62Sj/wrkNedByELF75lSflcrGj9CzZyr/IEWUFq7odNJ7RpjcIzKktI5OWNolH 6kGhSk4yqRhwubM4b4LebTaxp6J+ya5Q+u8rg7qhBB7z44K3WuymbW6fxgOAn5R+fT9O xW7tnLFa8hL4exOcvpEkfZDy0oOtccnXPrpIwRvu0pwk99Hl56uFQ9xMPfdv8z4NS6nQ 2gUq+Ad4uw/PEHMHt6+0K/OHcK/efCET9h7SqU1mzGSRlwx4mXbDfYz5GxRlhiUq2lqv ybMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=ZJLzOlVf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r27si5386941pgl.494.2018.11.30.10.09.40; Fri, 30 Nov 2018 10:10:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=ZJLzOlVf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726900AbeLAFRN (ORCPT + 99 others); Sat, 1 Dec 2018 00:17:13 -0500 Received: from mail-eopbgr60079.outbound.protection.outlook.com ([40.107.6.79]:8924 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725754AbeLAFRN (ORCPT ); Sat, 1 Dec 2018 00:17:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tFLSl4wfcTBopZZsbrx/LMK/joa7CFVbLXBZUhF/QUA=; b=ZJLzOlVfVI/HSbqGS7nOh1d2xyFbLrFVz17JwnfJPLA8eOYe80UQVofUWeqo+OWaCNFSArhboibjTHUrNgYf5SEqdUmADpUloHxio8yWQZ3ELTSz1I2vGtGEvTJ23Pi8sGXruN5a6NkMBsGSWpJb/xTLQM4pMxNvvfnKGbMWfbk= Received: from DB7PR08MB3209.eurprd08.prod.outlook.com (52.134.110.159) by DB7PR08MB2969.eurprd08.prod.outlook.com (52.134.109.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.19; Fri, 30 Nov 2018 18:07:04 +0000 Received: from DB7PR08MB3209.eurprd08.prod.outlook.com ([fe80::dd06:f986:fcee:10f1]) by DB7PR08MB3209.eurprd08.prod.outlook.com ([fe80::dd06:f986:fcee:10f1%2]) with mapi id 15.20.1382.020; Fri, 30 Nov 2018 18:07:04 +0000 From: Catalin Marinas To: Julien Thierry CC: "linux-arm-kernel@lists.infradead.org" , "daniel.thompson@linaro.org" , Marc Zyngier , Suzuki Poulose , Will Deacon , "linux-kernel@vger.kernel.org" , Christoffer Dall , James Morse , "joel@joelfernandes.org" Subject: Re: [PATCH v6 02/24] arm64: cpufeature: Set SYSREG_GIC_CPUIF as a boot system feature Thread-Topic: [PATCH v6 02/24] arm64: cpufeature: Set SYSREG_GIC_CPUIF as a boot system feature Thread-Index: AQHUen7nxGZoDoW8kUyngIYWbbyzbqVouf4A Date: Fri, 30 Nov 2018 18:07:04 +0000 Message-ID: <20181130180702.GL43329@arrakis.emea.arm.com> References: <1542023835-21446-1-git-send-email-julien.thierry@arm.com> <1542023835-21446-3-git-send-email-julien.thierry@arm.com> In-Reply-To: <1542023835-21446-3-git-send-email-julien.thierry@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mutt/1.10.1 (2018-07-13) x-originating-ip: [217.140.106.54] x-clientproxiedby: CWLP265CA0238.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:4f::34) To DB7PR08MB3209.eurprd08.prod.outlook.com (2603:10a6:5:1e::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Catalin.Marinas@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB7PR08MB2969;6:81kCegboiF6dIV83rUJ3TukvLOCePnMI7dbcy0THQDE9hBh2ihZ3PyEpkvS3RLQrJBnTK/8GIqwrZO65G2wYVV0gTdpSZVoa/oVeBAaCYkuBv0WMVp14A3kfd8FnhDES59htD89/6D9EGPiv5zX0YFMwesgW2LTZbOA6d/aSlDNLnrI4cW+VRuJNChmzIBA+Omq64zRjTJTKWDxfcHGAF8Wpr/6g7mqiZ+8uQzIqVaQXuOHkYOHWEGN/A9neXsjjfIrf10ajt7fvv8nnF0+wVgw4Q58gOzP6tV6pXCa9djoZPhcgng8qFTifLzak9hv/Auo+dqrBGu+CeFxPlHZcC5OtO7AYRSS3yjWFsAND1lmXjWA1XXcfdDlXWKIpqJ24dtY8T5vWBH5VpBfz5lKkEjzE+yPbX/MyXsoqjxdFDRWqXFtBqdkuM4VDw8p2jfOetd4QJcUCQcLnmcrGOpGOlw==;5:ZyxbTMBtgkauVDixHbuz7rMU58aOjGW0zJZaxo8rpBtSTz3Xps3zmsfbk2smNbQfaLyzk1rCjaRQ+P1W9MNyfjv2pxNspqtohVTphjiGgKrZw+CQiJEAjZN+Z3JJ596ck+b4mhZq3b7HzUVE4vt/VxJSfugQk8+q4O6aBPTd2LU=;7:iGxirnoLiJmGDVUkm3dAjRnjQfvq9zLJOPNiYaUaVij2CXA6MzVu7SmUHniKo9lL8JMf6QVn24LjZbbvrTRwgKHEyMG/tCUhT8/deEY6vbWqgBuJ2aNOoX0Cf41CUm9HuAlyyWQWI4oojLDa1fQWSw== x-ms-office365-filtering-correlation-id: ec494ea7-c26d-46a1-15a9-08d656eea234 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB7PR08MB2969; x-ms-traffictypediagnostic: DB7PR08MB2969: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231453)(999002)(944501410)(52105112)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:DB7PR08MB2969;BCL:0;PCL:0;RULEID:;SRVR:DB7PR08MB2969; x-forefront-prvs: 087223B4DA x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(346002)(136003)(396003)(376002)(366004)(189003)(199004)(40434004)(81156014)(386003)(6506007)(3846002)(102836004)(71190400001)(44832011)(71200400001)(6636002)(66066001)(97736004)(54906003)(14444005)(52116002)(5024004)(476003)(58126008)(316002)(26005)(1076002)(186003)(6116002)(11346002)(446003)(76176011)(2906002)(486006)(86362001)(256004)(53936002)(6512007)(6436002)(6486002)(229853002)(25786009)(4326008)(99286004)(33656002)(72206003)(478600001)(14454004)(6862004)(6246003)(5660300001)(7736002)(106356001)(305945005)(105586002)(81166006)(8936002)(68736007)(8676002)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR08MB2969;H:DB7PR08MB3209.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: HaFahx8iif/hodmP/+xw7csDrauCoQYCKKMYGHI25zItbjg+kgfXUhNHEYS1JSAMrVqWD/Mc3UgwaGD3G3l3Fpj2jBmeVo8vjhm0nG5dhG8tvhFiBIfE+Mx7CxnRgiDJR8bwNY72vgbZGPqkL3MGBB0agnAcAC8CtaOD6BBopwUuxMTEDSKZGzJXHjjx//yx7iOeBdbvzHQwKmSLsQlFrr2bXZw6BvEai+3CS0jEFO81RVOcchYsJYYdlSCMTIOwiSv2am/8zsLcUW1qnbVznySLxm8p9AuXZItoJ2MQYfh+B5E6E1M9Ts8mewolAJ21uWBnO6HBYmjqH7wheoix+5/151X9u5yOXSXuucKfBQI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: ec494ea7-c26d-46a1-15a9-08d656eea234 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Nov 2018 18:07:04.7406 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB2969 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 12, 2018 at 11:56:53AM +0000, Julien Thierry wrote: > It is not supported to have some CPUs using GICv3 sysreg CPU interface > while some others do not. > > Once ICC_SRE_EL1.SRE is set on a CPU, the bit cannot be cleared. Since > matching this feature require setting ICC_SRE_EL1.SRE, it cannot be > turned off if found on a CPU. > > Set the feature as STRICT_BOOT, if boot CPU has it, all other CPUs are > required to have it. > > Signed-off-by: Julien Thierry > Suggested-by: Daniel Thompson > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Suzuki K Poulose > Cc: Marc Zyngier Acked-by: Catalin Marinas IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.