Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp589349pxb; Wed, 8 Sep 2021 08:00:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQNzlZp/U7fUS6JSc9cFYj97ZnNX2qIBe+Pl6oQq65raCE1o5P30hlUTKm45+SeBPINySm X-Received: by 2002:a05:6402:84e:: with SMTP id b14mr4353579edz.260.1631113237083; Wed, 08 Sep 2021 08:00:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1631113237; cv=pass; d=google.com; s=arc-20160816; b=byq9TRNkTWln5/ea0lfHpLSNeCbDV20EoQrGfdJgn1LBuFOyLJVUJ8cYfvvO8OIbz4 vcUHIHIp+1eng1+yTP0ixQd2h7uoBQ8sN+8TIYkp7VZFWhVcr810Wrow+YfhUtHX/o3m km0AGGXF/NCjznj2sENZejArvmbeuU6eEEA3Hst0zAQhl2TF3pKhI85D4w00o+g1+jVX X2FURcaN/xMtMge5/eopfTGUbPokdvHwxzNNGoiYYwZvGrvfcSZoMslY+XvJyYqY5oHu MJjCV9JRm4CU87bKR0LY7vtPCF1+VevUe/b/VT8yQpefdtLhlAi1To/JOu80Cmc0ZCO4 A6gQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-language :content-transfer-encoding:in-reply-to:user-agent:date:message-id :from:references:cc:to:subject:dkim-signature:dkim-signature :dkim-signature; bh=r5DkWAm23nvRRUg/jAQr5y90goAn0GgNJDof9SZXWYw=; b=o2XGgfyVf/Nq9qkSYpylbBtN3gOYNWf5BQLVfGAkKqP/Vif4n0SY9w9tzr6Lv64Do3 bvYS7qHGkWSN6tU1KTznAzXOGJ6YBxe3iiDMBYQDHTvEl2iFkqDcpbIRwpQ7kEflSqz6 90PGP73vpqdCt9kGK13Moxk1oEj2yuD3G0aaD3//4iWrp1ahLxWxhcSGcE/8+Xlcv9Zg 32bu4WwUuYqBdOrVkagp92hgk5MCQ7tJF05XTqe61mUNtz/CecUrP9GRu82iWeIl8OeM Q8yTVQT9RqP/FmkLqIn+JEDKmZJe1qmCBbIMYXe/XRrDssSxr8f4eP+/mvy3q+tuw9R7 Ap9Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=a8GOx0ZS; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=PXJDs84w; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=MM95ZO32; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z6si2658974edp.601.2021.09.08.08.00.12; Wed, 08 Sep 2021 08:00:37 -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=@oracle.com header.s=corp-2021-07-09 header.b=a8GOx0ZS; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=PXJDs84w; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=MM95ZO32; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351821AbhIHOWy (ORCPT + 99 others); Wed, 8 Sep 2021 10:22:54 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:33138 "EHLO mx0a-00069f02.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348925AbhIHOWy (ORCPT ); Wed, 8 Sep 2021 10:22:54 -0400 Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 188DxvcP012550; Wed, 8 Sep 2021 14:21:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=r5DkWAm23nvRRUg/jAQr5y90goAn0GgNJDof9SZXWYw=; b=a8GOx0ZSEoT9cxdc6ymbmx/DDIcFVf/luxDG3Tbj/1Ux0J/IJQFZtL5BR0affL3I3bio rhFSWXC8u9jv2O4pJlNjxdVLruPCTX7cU7lRGLQBgWRCy+z2NSA/YMVkD9Tv1eDZvoE5 nF0YwlToCV3caUVNx2/8CioJUmkwnJ424tDkuN/xo5vGGRrZRxMtDIOknihfgXjpv2sQ Ze6uoerKZJPULF1K7SQzFkjGENEJPMYLQ/8I9cxiGxi9PjTI82oPOg6wm3czgT3Vkmw4 TIj+c9Ufvy7ime/rofwasUoPMN+5GEiy0O1bugzptFJbR4bAmxKrBkcRTYYEb6Xa/4T5 qQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=r5DkWAm23nvRRUg/jAQr5y90goAn0GgNJDof9SZXWYw=; b=PXJDs84wWcpUFzLVKNydmNoEzffkJPyl8uUB7fYO8NRlE9tIqNVozyqAWJfHnvf1OBOF srTGAz0Xf6n2DLvSk/+Hqiu3mz3Cx5fLCRs68cNRAuUaF0udOZ2mQrOBF2aPTNh20rG0 OeOKNfdOQuS6GGRhEjobQX2ywMBLsNlh7UupljH2otMoX+R5hoDL5EuFflmSj5dac/XY aSZhiwf5/q+itaFbiZqVpurxNduewMd+2w1aU0IgwDGT2lkc1/rNssCa/1DAIdd/PGBJ 8a2J5WzFYKyMRXLKyLFvEqI3mzjaY0put65GKuqr/tj/soh5tqSdR2O6rCgxAxujHZy2 cw== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 3axcs1aud1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Sep 2021 14:21:29 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 188EKqcc107138; Wed, 8 Sep 2021 14:21:28 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam08lp2045.outbound.protection.outlook.com [104.47.74.45]) by userp3030.oracle.com with ESMTP id 3axcq1f8cb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Sep 2021 14:21:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hBj2ZtJP2tO/f1n9xwbmC/R2uqwvKW1U/xXLR8Es850XznSCfLrTOnys1N7ab2GtMJ87XVAdzOkDTy5svmkho7B7oI57jMfF0eKuEWqcCsRVkTsJ4u5x+7s41iKDdZUYGeZD3IHp2VrV8GBZhzjTwoEMn9MEk5lHYpzdR2pOUsEZmVI9OyesaIJihTUz+cEMVusJE4Uf0QBbWS0r5ir4WPWcBTkPB79mlnPtCxvGEZvnw8nXUqwZwDmt6pnMN7092Aggzd5g0mWaUP6ItyMuo/p02ACHRVmCXUaoOXC9O3HsXKeiYPmucgZ8SpYDnM3FqYI1t2n2H3tPiqdL1LepDQ== 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; bh=r5DkWAm23nvRRUg/jAQr5y90goAn0GgNJDof9SZXWYw=; b=GBemeKD5g5a1txp/YX8m23XfbyV6UJkk9XrusQBLsZ0UUZAKSIHOoBTXn/t2c70tMRxIOq/V+pesCg+rdKsFyQOLUaVR5jdpt4sDLbVkg6p/k060qO/CNGeM+hO6cb4vdx67OcEWsrkB13qW4aVR0zsPVeyGJkjt/X7HB38KZzXoVrJ4bRJ/l0f5qsyZnPQt78nUwX8P8hWZ582We9LiW60WYrHhFUecyIQBhhWFXLaqDz6pzNRssIfu7PEMBV+ddZTLYdQBEFPzgsknSzEfi+5BreS6AlhMU+kDJr2fDKGX7n5m9KWUsztO3VCff/yeCm47uOTGeNakz38VxPIjSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r5DkWAm23nvRRUg/jAQr5y90goAn0GgNJDof9SZXWYw=; b=MM95ZO32D5e3kREJDDAOYpJEsgURZKa4avPypcMLWFybsLLCRCIkdm1SZekV0LZJtMYJa8vWTV01i0NFIvrNfTP1DmYCanU+G5YNjdM73M0farE2QBtMuIF6pJLpsvgt0e6BNxP2CwW1jsSLF7zMyn00LxF5xC0IIrZQz/zHwcQ= Authentication-Results: zytor.com; dkim=none (message not signed) header.d=none;zytor.com; dmarc=none action=none header.from=oracle.com; Received: from BLAPR10MB5009.namprd10.prod.outlook.com (2603:10b6:208:321::10) by BLAPR10MB4914.namprd10.prod.outlook.com (2603:10b6:208:30d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.22; Wed, 8 Sep 2021 14:21:26 +0000 Received: from BLAPR10MB5009.namprd10.prod.outlook.com ([fe80::f520:b987:b36e:618f]) by BLAPR10MB5009.namprd10.prod.outlook.com ([fe80::f520:b987:b36e:618f%7]) with mapi id 15.20.4478.026; Wed, 8 Sep 2021 14:21:26 +0000 Subject: Re: [PATCH] xen: remove stray preempt_disable() from PV AP startup code To: Juergen Gross , xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org Cc: Stefano Stabellini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" References: <20210825113158.11716-1-jgross@suse.com> From: Boris Ostrovsky Message-ID: Date: Wed, 8 Sep 2021 10:21:20 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: <20210825113158.11716-1-jgross@suse.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-ClientProxiedBy: SN6PR04CA0099.namprd04.prod.outlook.com (2603:10b6:805:f2::40) To BLAPR10MB5009.namprd10.prod.outlook.com (2603:10b6:208:321::10) MIME-Version: 1.0 Received: from [10.74.115.194] (138.3.201.2) by SN6PR04CA0099.namprd04.prod.outlook.com (2603:10b6:805:f2::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Wed, 8 Sep 2021 14:21:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f0209f4d-e276-4bbd-ca16-08d972d3f12a X-MS-TrafficTypeDiagnostic: BLAPR10MB4914: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:451; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fbgEZ/aZUMVO2QfBb4NXTZe3nkm2Qeq0h+e/PY0dUHkPuEGokMlNm1xOlGQCxxdJArSJrf+gkGxq2Zkpug6uwRIHAskhBgiWE/VKZDMe/ghDq2hidEGeumwJnzrvBtd6jIWNClBUa1apJNfpK5bIDRCJBPlhmDSr2ej3lk9s8SsZsKhGLUX+nUNyMJ2BZSX9xQWdJ7K6QMGnh9hZa1TZ5Wo5rTBSS+Of4N4woXI7UxG2loUUxDBdRtuWDNEE1gkFGvGLnA5TGaEzVTJ5P0TKOLnKrNRjYwULdfWv2vOV7AJZbVmn4lx9adUXK40GwcMt7LgjRzwjnSUJSkhNnP9wxRO5YeYt1/F1sPCX3ZERCiniEehQCCRcSfR3LwoWl3N9KmHcUuU9RhE/1Zrqt0SIkGNL4QPec5QxIWDhumQhNgs1cvf2MNeD8mYDLWtTl2TChveaoxxraxwgqKXBIFrOWoYFNhRcQ8DmVNBYkaGIXA5Ska/DUy17vNqyIrLX/8YH8YH1YFAGIUfjrTlh/0iXkeSrxQGdOUf2VBKD45aOb91DOkDa750tY9E4214VR8CS2D4UyKi+tLxiUmPirMfnhHQ28gDdvqY58xryYmpqRumHifzPV6OTL4h4fUSvKvZT9ghsmQq4eZ5lK11S8tQ29J0y1Ljl2unWZsNE3Hz6+X38HJqM/7daDm2XRGVv2UIU81oYwkKcIazsxianKMTkjcgZJHxIQUWaur96aWQcIC0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BLAPR10MB5009.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(376002)(346002)(136003)(396003)(366004)(39860400002)(4326008)(26005)(38100700002)(31696002)(4744005)(8676002)(8936002)(478600001)(2906002)(53546011)(36756003)(44832011)(54906003)(66556008)(86362001)(83380400001)(66946007)(66476007)(186003)(6486002)(956004)(5660300002)(2616005)(16576012)(316002)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-M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atorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0209f4d-e276-4bbd-ca16-08d972d3f12a X-MS-Exchange-CrossTenant-AuthSource: BLAPR10MB5009.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2021 14:21:26.1774 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4IgoZUo51MAMg8/bdZOLcLtS3BQSPlRkZCPGHHqMSWJySsTTFrzJPr7MK6rg/YVHj0HiMjwOZayxoqjdilFLB9+pyw9h+IPiyU8UkQbq5q0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB4914 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10100 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 adultscore=0 malwarescore=0 mlxscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109080092 X-Proofpoint-ORIG-GUID: 05yXRHHkwXBDUmyT8k9WE8Fd0hhC5v1L X-Proofpoint-GUID: 05yXRHHkwXBDUmyT8k9WE8Fd0hhC5v1L Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/25/21 7:31 AM, Juergen Gross wrote: > In cpu_bringup() there is a call of preempt_disable() without a paired > preempt_enable(). This is not needed as interrupts are off initially. > Additionally this will result in early boot messages like: > > BUG: scheduling while atomic: swapper/1/0/0x00000002 > > Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky