Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2106333rdb; Tue, 3 Oct 2023 10:18:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGF89+BqcMJKv3vyvWAcnaPkyvURrBLrzkxKF1TiH61fiDseBacdHfBh6qV0D3L2Mji1xjR X-Received: by 2002:a17:902:d303:b0:1c5:c218:9891 with SMTP id b3-20020a170902d30300b001c5c2189891mr243272plc.20.1696353531643; Tue, 03 Oct 2023 10:18:51 -0700 (PDT) Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u11-20020a170902e5cb00b001c33cde7b3asi2008020plf.410.2023.10.03.10.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 10:18:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jjS99nGn; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 5466D82DE856; Tue, 3 Oct 2023 10:18:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240644AbjJCRSs (ORCPT + 99 others); Tue, 3 Oct 2023 13:18:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232065AbjJCRSq (ORCPT ); Tue, 3 Oct 2023 13:18:46 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89E91AF; Tue, 3 Oct 2023 10:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696353522; x=1727889522; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=TV4tT2V17d7qWSr3I0MvZaUDlAEecGq65son8QtJwkQ=; b=jjS99nGnGUmsPWk8INodZNV/jMtdL58kKRX4NcrOCRBiWHAuIoeuoPyL yHyg4+CV4yYNPU7luoxj4LdrbnDpDe/5ZqWqzXEo+4LBmUjAXOdUybuMe vrxeVpCIhndkIXNOg+HKHUx1ZuAqb6a6LLf9R0FCupZjzWh31Ju2oW6mi Q6ctWOGtS2qXHvNnPFQsaXkjOmFaOypechbfSlxBGqv9NpA4vSdRu67Ls kllvERcqIHGMwFF0Vxr7nE+iL13eUjIwDmrFa6trQMan6nwxCTfBxTahj FTJqzUpct+9uNxfxgs2iAPrAvNzLwaj5b6kfygl68Snk8zhScT7gjnE9G A==; X-IronPort-AV: E=McAfee;i="6600,9927,10852"; a="4497570" X-IronPort-AV: E=Sophos;i="6.03,197,1694761200"; d="scan'208";a="4497570" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2023 10:18:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10852"; a="894577911" X-IronPort-AV: E=Sophos;i="6.03,197,1694761200"; d="scan'208";a="894577911" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 03 Oct 2023 10:17:16 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Tue, 3 Oct 2023 10:18:39 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Tue, 3 Oct 2023 10:18:39 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Tue, 3 Oct 2023 10:18:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ElTv4hC33Op8SY6d5uJnIHHTnfx2Of/ijwKAIq3rHQ0q/S7JgoJqQIpAnAGoZLg7TkxcbRVxn2aUQy7Wxl9kRA7TC56UiM7nKdBy0ZAPYYPAhbEdY3x/g8NWGL+AC3RHhATIHjaQw2zwkUnByE5BgZznBoUgeL8qeqJrDKr1quj1lX2UTnCx5sc7E50LzLZUIfRaq4KF5wNXgwM+rWZTYOlogxQOr31iqYqg0XnrMdJtcOyNKCxhpOKa1GuJtxjk6mKaYmwr1D3S5CmESBUCY16yWfb1I9W/nkuLJjopSbyG4dZ2CI01MT29ROCO1Y3HZdN5mrlYON7LHEMg5icQdQ== 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=Y+Lg5vJhRl04YigVbhQ9FbGTryCygmyMQS/JBnGV7ts=; b=PvM7ETTiqgzl81WVMt8zdpkHPd6ySYQgwhttLtGJKlHFnGO/kLXDFEJHsngBnms8CbSn5qf5IpGkuZePGWtxRienJBHv+LI2o29BJDROpInhPOKcgPrRMXrwX9B3w0f86gYeGnuRASw3cz/qr3SDit/IExiz6ul0D7vNOPG1gfALLzERn9MkVkZUtgL6/MNiVR/OjVMW7Bb6BdJCGIgXBAxu6rKJCDSOaVy6Kfiqtgf+O1o2WLQf/oCGGSoF1k7aIoMWwXmzH0qDJGB7ygK5obtL37+s+PyQE49kJBSiXGgrfM4hKQZrWVGOtHqQa0MT0xvKVVq4SaUIihRx5ZHwpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from BYAPR11MB3320.namprd11.prod.outlook.com (2603:10b6:a03:18::25) by MW5PR11MB5881.namprd11.prod.outlook.com (2603:10b6:303:19d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.28; Tue, 3 Oct 2023 17:18:36 +0000 Received: from BYAPR11MB3320.namprd11.prod.outlook.com ([fe80::5e34:ee45:c5e8:59d0]) by BYAPR11MB3320.namprd11.prod.outlook.com ([fe80::5e34:ee45:c5e8:59d0%7]) with mapi id 15.20.6838.028; Tue, 3 Oct 2023 17:18:36 +0000 Message-ID: <622b95d8-f8ad-5bd4-0145-d6aed2e3c07d@intel.com> Date: Tue, 3 Oct 2023 10:18:20 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v2] arch: Reserve map_shadow_stack() syscall number for all architectures Content-Language: en-US To: Arnd Bergmann , , Linux-Arch , Dave Hansen , "Ingo Molnar" CC: Richard Henderson , Ivan Kokshaysky , Matt Turner , Russell King , Catalin Marinas , "Will Deacon" , Geert Uytterhoeven , "Michal Simek" , Thomas Bogendoerfer , "James E . J . Bottomley" , "Helge Deller" , Michael Ellerman , "Nicholas Piggin" , Christophe Leroy , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , "Yoshinori Sato" , Rich Felker , "John Paul Adrian Glaubitz" , "David S . Miller" , Andy Lutomirski , Thomas Gleixner , Borislav Petkov , , "H. Peter Anvin" , Chris Zankel , Max Filippov , Peter Zijlstra , "Arnaldo Carvalho de Melo" , Mark Rutland , "Alexander Shishkin" , Jiri Olsa , Namhyung Kim , Ian Rogers , "Adrian Hunter" , Lukas Bulwahn , Sergei Trofimovich , Andrew Morton , Rohan McLure , "Andreas Schwab" , "Eric W. Biederman" , Brian Gerst , Randy Dunlap , "Rick Edgecombe" , Mark Brown , Deepak Gupta , , , , , , , , , , , , References: <20230914185804.2000497-1-sohil.mehta@intel.com> <487836fc-7c9f-2662-66a4-fa5e3829cf6b@intel.com> <231994b0-ca11-4347-8d93-ce66fdbe3d25@app.fastmail.com> From: Sohil Mehta In-Reply-To: <231994b0-ca11-4347-8d93-ce66fdbe3d25@app.fastmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BYAPR08CA0063.namprd08.prod.outlook.com (2603:10b6:a03:117::40) To BL0PR11MB3313.namprd11.prod.outlook.com (2603:10b6:208:60::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR11MB3320:EE_|MW5PR11MB5881:EE_ X-MS-Office365-Filtering-Correlation-Id: 529268fb-ca70-459e-dbff-08dbc434c5bd X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cBzB1oBGG76jD4SpKZM44J78I5suCcUw5Hchs6R9dvvr24IxdjLbpSELlNbPKzJ/Tte3qaAFa6tdy6IV6oeqFTrzZrVFarabXLhDyE/OupP0PsFdiIlpaFCjLQRkxsM/3maM0u8oEWdAoq6iQ7ufX3dx981l1LqiuMEXwL0mj6kXADBGlLSt+9Gd8pCtw8d0ND/3vuxDFJxVcweMGpHSPP8yhXdeQuAo0SwrT2QL60jxVcrpKL9V29JySYO0XuFxhRrJfZjE4/Wrvb4937VYD7nMqu9cAPoMlvItfUN0vnqltZ6Eha6uLXMeJAVqaD7W5z/no1L1IpuiU4f/ZXAG3TDruLIL/UiMzmLMpBczwNLz6QKOF27Xq4QYrM0BuJRoNNIdHYkgDaMEWTw+vexXdwu3NKzyBfQYS/2dJWGFOffjiBhiElok1Tg92ylzOq9Y6aR4MgLgde9ufu6VNsbAMBmk8Sb0f5ACprk0ibXA4r1vIlZCzKkqHuCQdGZXlkpWdFqTyFfd+C51475Ph6k+Oy3iyU1KboOUrPvJAumdYXGbPw6+KzjPY4JTQv7bpxp86mpKXvZb3MFIFN2547NbOKJcb51JGNn74EHXcSYapHkW3q3qTbIdR0nPWSCubxahP+Py7vEkLT/pH4KZKuuKlg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3320.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(376002)(366004)(39860400002)(396003)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(4326008)(8676002)(66476007)(8936002)(44832011)(66946007)(66556008)(5660300002)(110136005)(54906003)(41300700001)(38100700002)(316002)(6506007)(82960400001)(7416002)(4744005)(6666004)(2906002)(53546011)(2616005)(26005)(6512007)(6486002)(7366002)(478600001)(7406005)(86362001)(36756003)(31696002)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NU5ZVTZ2NFIzcXloaHRLcXhqL0FOaW5Ea0tKTWtXdDZrWE1ZcXdrMWdzRm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Tnk4Qkd1Z1pwdDgwbzBONE9lTUc2TjV6aUNxRXBmMUFa?= =?utf-8?B?TXpuQmF5V3Y3QW92dy9Nb042TEtZS0tWT3R0aWY3V09zdWVucFBUUTZTTEN5?= =?utf-8?B?dEVsMlMvL2w1bE9ELzBqR1N2Yk4xNHRHK0J2ZHVyNEZTODNOTml3eE5YSld0?= =?utf-8?B?MTRFTk9VMFVRekh0NlI4TkVpTGwwTDhmckw4TVFuVElzbEtVK01jSEQ2dThq?= =?utf-8?B?YXpnaGk2dkdkdXBYcWltRVJBOVAvc2RUdzc5NzkrUnBrbzVtaE9URVJpUXpz?= =?utf-8?Q?95/79KBaE/pDDA5SEH/27W8TH?= X-MS-Exchange-CrossTenant-Network-Message-Id: 529268fb-ca70-459e-dbff-08dbc434c5bd X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB3313.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2023 17:18:36.2175 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: taVq7aiy+E/+aSodbq/4rI0f0H8z1si2jTWBMWpeD6JKJdE6PJfVFA6izhh0kD6JBh7dXsZbt8Hzz3yuFcYl+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR11MB5881 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 03 Oct 2023 10:18:49 -0700 (PDT) On 10/3/2023 9:54 AM, Arnd Bergmann wrote: > On Tue, Oct 3, 2023, at 18:35, Sohil Mehta wrote: >> >> Gentle ping... >> >> Are there any additional comments? It applies cleanly on 6.6-rc4. >> >> Or does it seem ready to be merged? It has the following >> acknowledgements until now: >> >> Reviewed-by: Rick Edgecombe >> Acked-by: Michael Ellerman (powerpc) >> > > Reviewed-by: Arnd Bergmann > Thanks Arnd. > If you like, I can pick this up for 6.7 through the asm-generic > tree. If you think this should be part of 6.6, I would suggest > to merge it through the tree that originally contained the > syscall code. > Dave, Ingo, would you prefer to take this patch through 6.6 or defer it until 6.7? It's not necessarily a fix but it does help finish up the shstk syscall added with 6.6. Also, it might help reduce some merge conflicts later if newer syscalls are being added during the 6.7 window. Sohil