Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5504982rwb; Mon, 14 Nov 2022 05:46:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Z1b7kR1tKBaEfesA5EzuxBWEVRtD1JAhBhGmefFJKqPIn2j0ykKS34JIizawcQDZm4mN8 X-Received: by 2002:a17:906:35d7:b0:7ad:eb81:c6c7 with SMTP id p23-20020a17090635d700b007adeb81c6c7mr9656684ejb.91.1668433584172; Mon, 14 Nov 2022 05:46:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668433584; cv=pass; d=google.com; s=arc-20160816; b=TLmHOG8/49ECFKabgxfpjck1zn92dSru7KfPiWDLcSTBSD729YGx/9FMkb3TKCqOe8 8K0rw4f7nDps6+Y44qjH//bNAVl8ErDgarFu41eM22+ibfb+2UPdyvscPGB74d6ZLTfQ alOcbTiXLhc9DvjSq/iLzj4LJtgYEEULWkQvkSZ7NOgXa3TFdMt09Rlj5WVyMOtxFjcQ 6pQf5FsybDTAiRPfLoqbCdQKPFU4YsdnVvL0bkAT72n8TMMg7TlD8+Z6MpoxAuptNsgu P/P05SGqL5Mr/tjtwviGdTlSttgDvWLemOEyge9ymwS20lLJ6lysig/uQzVgcRxMzW2Q YVGw== 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-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=4YFP64irhte0G/y1Dlzh70Q5Cm0ldgyd1idLOo+lNeg=; b=nUyc8T1lXXkSngchmUk9oooKgYB95pZnk3PpgeTqcZVBszan88sOTFRN7JbPUV27SQ pwAGsEFU2wBRs8mHzysYbkfRVhoBk2vrb0WKyZ5vFpRAE6lF121ov8JGwDoGRgetCKI/ dzSGrz2rIXuS5A1Y2aYsjS4rgWFvpBn1OyUSRZNcy70eifgrrbP3MpPAox52127rJXvD iuzxMcFWSuc6ZCjGBD5wDkdaE9KwWGG05YsSrD1Jy0MK45tdsd7pK97BpnwAY0edNI05 TV+mLbtBRo/GYu1B0hw8TRt0iCpSn78YTvzl4nPFo3r1QWHnMA1Ttkq4KICw4J8F9+KK Jthg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@csgroup.eu header.s=selector1 header.b=PH6pLeuT; arc=pass (i=1 spf=pass spfdomain=csgroup.eu dkim=pass dkdomain=csgroup.eu dmarc=pass fromdomain=csgroup.eu); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a1709064fca00b0079b8cce1170si9712639ejw.950.2022.11.14.05.46.00; Mon, 14 Nov 2022 05:46:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@csgroup.eu header.s=selector1 header.b=PH6pLeuT; arc=pass (i=1 spf=pass spfdomain=csgroup.eu dkim=pass dkdomain=csgroup.eu dmarc=pass fromdomain=csgroup.eu); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235858AbiKNMOt (ORCPT + 88 others); Mon, 14 Nov 2022 07:14:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236962AbiKNMOr (ORCPT ); Mon, 14 Nov 2022 07:14:47 -0500 Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-eopbgr90082.outbound.protection.outlook.com [40.107.9.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88DFA1C131 for ; Mon, 14 Nov 2022 04:14:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oVP/c+8SK+LMNnCCSJ2x+d3ZxpaiOZBU2rB6JCWK9ljE02tZCTIA8SRiwmc5jC9j0XUq6w4LdA46jNh+loLS3TyN8cBuAfjLnF9SZ8W8TW148Mb/hqw+O2bWs0jOFh4xw9MIBJhWBi/4iPNFr4/V+VJAey/DPbIybXRvVCPQUtSAVKk1k+sFffknr0wW4e51jRKeijLsf2jbDTzjt/a5oDyZ1mjBblWzNrysT4IgAhJcMdTfwYj6y0mcVTSOUZHVQ6aSFc4x4/XzCaQFUuD+rE7v1bUyCK5TdghE2UFtnpMkI8P5vG3t7F7YvY8H1tTjAsLiKkPUX95ReamPugsKzw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4YFP64irhte0G/y1Dlzh70Q5Cm0ldgyd1idLOo+lNeg=; b=AeeOT7RJ+EjQ6MTHjX8zoSlG4fmShtgn4XGqiyE78Bu2OoQWuGWVbCmdF4DpTCKjQWkSppgRIQLDjVMVPyh7YQENhr3rgnzf65yyXBHNrjHQktyHEcz4zMGh9TtpuQmFWbpIfmNvUiU1UBu67zqJ/0wFZfFZVIlUBdqiQTKgwGKUqBR3fl+AMlV3uI+DSup7q1JSQX/fjDfyYrErZd8YYp6uxfcPwzNDTjmXa4VxPqQKMFcYOToqZEo4NOAq+DKEiGf3V/TosK3DMtLGJVKFUgfzgwP6Ir44O881mx/xzm0utDS2QRG769I+S3DGyP/ROzJ9qRxAtcA6k6/xCi+Y6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=csgroup.eu; dmarc=pass action=none header.from=csgroup.eu; dkim=pass header.d=csgroup.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=csgroup.eu; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4YFP64irhte0G/y1Dlzh70Q5Cm0ldgyd1idLOo+lNeg=; b=PH6pLeuT/2EQ2RapOfhseOREt4rn5UEpqqfBayOysB9DxG2nMOUoFJcF0cUaBQlavP+nb/DvJNclVpD019vV9IIHEU8qbQF5g/COwXOla0cc0n0z7Pcs9wfwwU0B0PtB3TlKoarmH3fzY54NhET0s7qOWx07cmCtW24ZDErt3JaaGxgEhmFudXjVsqrd5r069z+0Eq9teUySmtMabk7tNvtpH7m6oAjuVanU0siqdtQEBIudAAbPkCGLHE7wfnfSbL1GODdFPFVDdGACQebgf+KsNIOjB2kndGFR+uQ+CgzW3mnv2mR8buA22I8d6nacSYlh5jIVy2tuxCA5Cr8oCw== Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:31::15) by MRZP264MB2022.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.17; Mon, 14 Nov 2022 12:14:43 +0000 Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::a85b:a9b6:cb36:fa6]) by MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::a85b:a9b6:cb36:fa6%9]) with mapi id 15.20.5813.017; Mon, 14 Nov 2022 12:14:43 +0000 From: Christophe Leroy To: Samuel Holland , Michael Ellerman , Nicholas Piggin CC: "Eric W. Biederman" , Kees Cook , Russell Currey , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" Subject: Re: [PATCH] powerpc: Save AMR/IAMR when switching tasks Thread-Topic: [PATCH] powerpc: Save AMR/IAMR when switching tasks Thread-Index: AQHYyYnrawisyGt7e0mr4Du3kDJFGq3jSIUAgANtqoCAAoyJAIAAHP2AgDbzwoCAHl7QgA== Date: Mon, 14 Nov 2022 12:14:43 +0000 Message-ID: References: <20220916050515.48842-1-samuel@sholland.org> <89049105-64fc-8d5b-d090-2841064786d1@csgroup.eu> <87h713leu8.fsf@mpe.ellerman.id.au> <01281a29-5dff-8868-a1c3-4c4978dca346@sholland.org> <28f0b6b0-cc85-8406-c007-111d44fa06c2@sholland.org> In-Reply-To: <28f0b6b0-cc85-8406-c007-111d44fa06c2@sholland.org> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=csgroup.eu; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MRZP264MB2988:EE_|MRZP264MB2022:EE_ x-ms-office365-filtering-correlation-id: 2d142fdf-32e2-443d-6bd3-08dac639d035 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jwM2f99wRXuWvmM1oDHYtiSGLSra4NIRS2LpMn/B8jSxYWSU3IfiNGzySGic2y4fUqG6RaUQZ3WqfuW5WeTQUqFU9rhrcRC9dtI1IGngLc8Wfwi5YZzOoQjVizq1Sc4WyaImqsFZqmafiE6AffU39PijFJBQq5sR+OiFYW3ctsuvm9Jo49zXFfR2Ux6zwcQvV7GdtjK9hK65yaLDSjslx8l0hnge5d8qtvyLlW5bhBVmf/1bVuwvNwohVRMGnO3RLJkJpMROQNt+uQwaAftbOUmN0nosf+bdb4KGh8xKAw1ipaTNASRlgejSAsPafqZ8FCCCoOcdYcrpriJES0+QoSnM6kXbWhCiJEoMRnTrS3cdfW3EdzMvzOm/yaT6dTWUe7e55jCbAcKL7zH9DnMgYVPs6W3m27lOF9cSB7IL8RMUVTDRvN15zZeiRvnaGsThFa8mSTBHHTRlRF4o4tzbc2d0jxv/MiYUqlLyaSCmHhVb1AV40cKAsjh7K1kxseswY4VnZtGyOW614tKY9OD9B9V0eh8G9HrnlZCsFxcn0JyOzUw5STljJz3sOJ/Egcc2CsistzJwTMmata65Io0YwESxBXqAxLFA0e8n78R4uPvSMSht+R4ciKwzovAr1gCgui4Arc3NSJCMqHcLUjHJqbAT8pm3Hhb9ReZm4bfVpIDNtIxOQpB82PvexyAU7kOgooh+14s/vkixATJCX8/pUSXEpqOmHVx94CDALprGSw2FyzHdnCVbir6S9ECp1riY42fbXNwFQKcXHJxoniI+tqGoDTmPLZYYu306ibctCDojLeY2csNU5/wBQcUx1wddgyazmeLclTo+t5Qm0xliwRHlwN9rlOYfgWhJilzLKOI= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(366004)(376002)(39850400004)(346002)(396003)(451199015)(2906002)(76116006)(4326008)(64756008)(6512007)(8676002)(66946007)(26005)(91956017)(66556008)(66476007)(66446008)(316002)(53546011)(4744005)(186003)(8936002)(44832011)(41300700001)(36756003)(6506007)(2616005)(38100700002)(31696002)(86362001)(122000001)(38070700005)(5660300002)(71200400001)(478600001)(966005)(6486002)(31686004)(54906003)(110136005)(43740500002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UFNnMFYvMFpWQW9keWp3VENpc3dBSmowV2NpeEQwV09zdzN5c1RiQ0VlMmdl?= =?utf-8?B?MWpTbTdpRjZxRVBpV2lmTFQxdG93cXVMMTFPejVIWDFvSXdiU1RWem9IeEpm?= =?utf-8?B?OGRqQTFRSUVCMk9hMmtCNm1OaE9TcDYreWFoRzFLSjAxY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8?B?alBkOHRhUTlmeGlGWUdYZ0NDZVR5OVN0UXhvejc4TUdCMXYvT0xpbXJvaXEv?= =?utf-8?B?T1hRUHpRUXg3K0Q5cGhHYW9uNHl6L0gvcTcyNGhyMlpFWkxaMytrTC94SUdK?= =?utf-8?B?bFBNTzRVTkYybURsMVpCL3hzSWNSQnU5YW5yb0s5ajVJaXducjJ4Z0hHUFVL?= =?utf-8?B?a3NUZExDUkFVOUNFc2syRzZ0WURZbTdlT2xTZ2d3eHZHQ2FIZ0RsOExMNGFm?= =?utf-8?B?TUE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: csgroup.eu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 2d142fdf-32e2-443d-6bd3-08dac639d035 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2022 12:14:43.4461 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9914def7-b676-4fda-8815-5d49fb3b45c8 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8PqTf7XyD1AUMsdcPwdysMYAgmKWKhwe+kjfOXjHOmHncTKhptonLNwV6NcS3PsMAQ/SPVaa+SkR6VIVIOWa4k8JN/1AoN84Pm1CVJYWRYM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MRZP264MB2022 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCkxlIDI2LzEwLzIwMjIgw6AgMDY6MjcsIFNhbXVlbCBIb2xsYW5kIGEgw6ljcml0wqA6DQo+ IE9uIDkvMjEvMjIgMDA6MTcsIENocmlzdG9waGUgTGVyb3kgd3JvdGU6DQo+Pg0KPj4gSW5zdGVh ZCBvZiB0aGUgcGF0Y2ggZnJvbSBNaWNoYWVsLCBjb3VsZCB5b3UgdHJ5IGJ5IHJlcGxhY2luZw0K Pj4gcHJlZW1wdF9lbmFibGUoKSBieSBwcmVlbXB0X2VuYWJsZV9ub19yZXNjaGVkKCkgaW4gZXhp dF92bXhfdXNlcmNvcHkoKSA/DQo+IA0KPiBJIGZpbmFsbHkgZ290IGEgY2hhbmNlIHRvIHRlc3Qg dGhpcywgYW5kIHRoZSBzaW1wbGVyIGZpeCBvZiB1c2luZw0KPiBwcmVlbXB0X2VuYWJsZV9ub19y ZXNjaGVkKCkgd29ya3MgYXMgd2VsbC4NCj4gDQoNClRoYW5rcy4NCg0KVGhhdCBzaG91bGQgYmUg Zml4ZWQgdXBzdHJlYW0gbm93LCBieSBjb21taXQgDQpodHRwczovL2dpdGh1Yi5jb20vdG9ydmFs ZHMvbGludXgvY29tbWl0LzAwZmYxZWFhYzEyOWEyNDUxNmEzZjZkNzVhZGZiOWRmMWVmYjU1ZGQN Cg0KQ2hyaXN0b3BoZQ0K