Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1062176pxb; Thu, 23 Sep 2021 17:19:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvAHvdyH5MIh9zzBFPUJa1ZLI2FFYZsHWmtCKPShCUqt36k2/3/jgVlG42Zrgp30tC2iGG X-Received: by 2002:a17:906:3542:: with SMTP id s2mr8557451eja.379.1632442751320; Thu, 23 Sep 2021 17:19:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1632442751; cv=pass; d=google.com; s=arc-20160816; b=xSjOqzXwmxKUczNDCeSnA75cQLDFsRoJSv7SMrIv9vyE8DksI795mxRFf7j/vLqY6B h11qCjF+zCDQc5xOnmaameaeQiY4xwpovliIXq53lz06che4KanCbVB9Nc5/uf5v8B9x Tf1LQioVvNw8piLYdGLVTpQ08U5yJnhfuMjQYw8Iy0zkbTUiCwa10cpUuBPOAKuSEJC9 rIvpg1fxiwYPQq0FBb2cJAe3wfAi0sXeIrulSjlEGhoKT2qdi34ftOTgZrzvJObg2pcV vxyuWGSmSw/d1ToiiL6HQNFliQebV+0u+DAGM4fLZGOLSMoVzeg3x8DlRYQFrZu14ESu E7WA== 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; bh=3avj7XDBbg5PtV6M/TeE/+a1Wd7rl2KbNT+mnpsBqlI=; b=AmwgeskqOVVzXB7LkRIPMSkAAlz0O+8KN2CHlETkDZ8xPMcC3I5SUDbSY+mGXo/xsa 2vFIsvYlKlxN9czcJpD18t6kK6tZGXrSHdNmwsuWCT149taBisk10SEg/J1TePlWKcmr ZaBG8IlqUHpdD1d7u1SXBwtqxHVaH7N+u6E8sMcLDJ/8Z4dLla91c8i+GJixANjQzne/ pFw8l55yXNrF1oa25Cm5ep1qiLIKZjWFP9L6WQ9BIMYrAcBGb3/jzJ6aKMqRmFYp++C8 9YWzWJsEB/TpyKuRiFowUryoCZVW3lNzcMVLgPan9SXvRz0jxjBT5dOfotoqoFo0JAU1 F6nA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=a6vI3yXJ; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e1si8206858ejl.635.2021.09.23.17.18.47; Thu, 23 Sep 2021 17:19:11 -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=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=a6vI3yXJ; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243639AbhIXASv (ORCPT + 99 others); Thu, 23 Sep 2021 20:18:51 -0400 Received: from mga11.intel.com ([192.55.52.93]:61156 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232143AbhIXASu (ORCPT ); Thu, 23 Sep 2021 20:18:50 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10116"; a="220772226" X-IronPort-AV: E=Sophos;i="5.85,318,1624345200"; d="scan'208";a="220772226" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2021 17:17:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,318,1624345200"; d="scan'208";a="704955663" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga005.fm.intel.com with ESMTP; 23 Sep 2021 17:17:17 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 23 Sep 2021 17:17:17 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 23 Sep 2021 17:17:16 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 23 Sep 2021 17:17:16 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.45) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 23 Sep 2021 17:17:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XikVDcXbVWx1XSAzIMqJlkqRE3j9zrV7FmdID3MQoHeGciQNyg6bNTzWM9sblqPaYXCKWJIZrCfHECr4Bd/N4+nbJMDZd6mac2qBwEn/HFp3OM2hB0aXwJZkC9bqligabHZlru2/ntz9ejQiNTcJfds/W/EK3LAkpYHQbX8q+T2cppDknU0ghkQRPqbDiUqkuTcYcuseJAVWOIwNr/Jq0xyziydEcTyqo5uEsYTPNHjTbOjfiVjx5BmgFEfOlukVUYxbgp6T7zMWGFHtolljzh/u7Z3cTw5LowAYq6QdGYVF7QqW+JKiUAjaGlYWYp6/iIfpIHI9LuLXt6UDZOeK6A== 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=3avj7XDBbg5PtV6M/TeE/+a1Wd7rl2KbNT+mnpsBqlI=; b=DpYVnE0EB7P59y9NIHZiiD3iqHAa/RMMYoJl2ChletQVsdFr8hqZSPp7EG/ecdk+/hBMZvFwhyvh/GAqwJgmynu6UbZSv6Q+qrWulDQOxzsaI3RRyx4ZmKTWlt4m/sv0QDkOrG4MNQFMK07+evNCs4foAWCbxJALRKbRuFEE8FqN6RRpjtID8uOuWU+Mt7rd7/FxHaXBgrd2Iw+OMXWr+lvfBGNGWD/BTtBAtQwnfTmRVbg6uiCDEdIYXXbwr+k3huuA3puQInelHR8OcARGGzdzk9OP7heNLCiypCncUtnwW3QaSWeZG5kwDf+LKuGPyJgc7oIBP+pXqtfhG0Dssg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3avj7XDBbg5PtV6M/TeE/+a1Wd7rl2KbNT+mnpsBqlI=; b=a6vI3yXJy3LUyrKnonRuQN1ISeBPQzcQy8bzxMCsF8n3a2VYEVe2ghJomgjoulc7M9/CrOACUmVyfNsckRpvt1BrszSqJf6eF+EEQMmDDIUbQbxgzHerB4FlvmiuZE+zODN3PpHns/mdosLu7XOMRdIzmYxhu+zabNNITwaU/e0= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=intel.com; Received: from BYAPR11MB3320.namprd11.prod.outlook.com (2603:10b6:a03:18::25) by BY5PR11MB4419.namprd11.prod.outlook.com (2603:10b6:a03:1c8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Fri, 24 Sep 2021 00:17:14 +0000 Received: from BYAPR11MB3320.namprd11.prod.outlook.com ([fe80::6db5:94d3:e534:617c]) by BYAPR11MB3320.namprd11.prod.outlook.com ([fe80::6db5:94d3:e534:617c%7]) with mapi id 15.20.4523.018; Fri, 24 Sep 2021 00:17:14 +0000 Subject: Re: [RFC PATCH 00/13] x86 User Interrupts support To: Greg KH CC: "Hansen, Dave" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "Luck, Tony" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , "Lutomirski, Andy" , Jens Axboe , Christian Brauner , Peter Zijlstra , Shuah Khan , Arnd Bergmann , Jonathan Corbet , "Raj, Ashok" , Jacob Pan , "Kammela, Gayatri" , "Zeng, Guang" , "Williams, Dan J" , "Witt, Randy E" , "Shankar, Ravi V" , "Thomas, Ramesh" , "linux-api@vger.kernel.org" , "linux-arch@vger.kernel.org" , "linux-kselftest@vger.kernel.org" References: <20210913200132.3396598-1-sohil.mehta@intel.com> From: Sohil Mehta Message-ID: <783bb314-ecf4-2a46-6baf-72758586123e@intel.com> Date: Thu, 23 Sep 2021 17:17:12 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.14.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-ClientProxiedBy: SJ0PR03CA0300.namprd03.prod.outlook.com (2603:10b6:a03:39e::35) To BYAPR11MB3320.namprd11.prod.outlook.com (2603:10b6:a03:18::25) MIME-Version: 1.0 Received: from [192.168.86.37] (73.222.31.188) by SJ0PR03CA0300.namprd03.prod.outlook.com (2603:10b6:a03:39e::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.15 via Frontend Transport; Fri, 24 Sep 2021 00:17:13 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6f18fb8f-a9f2-4929-bf88-08d97ef0a8ee X-MS-TrafficTypeDiagnostic: BY5PR11MB4419: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr,ExtFwd X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YF7aJI1zqlCeXn7SY6oDhv1lJl8g5TeK6/1Czb4wIWctM6ZFuRUkBXd+cCJsOhWYPrEJEiRvTbFNsg2QtzWU7aT5+pjq0bN/kc9atCQhHDHuQme5URVjbvApZpphpEVX+ZB+qkoDCRetKBLuT9IF3POVHOhHiIucQzqgwnbpnIvaslboKQCMzFagnVNvy6DysZye+vS9WwF2D4VW/tovEOSQramM4LOElZpmnBPOxkd26TCcF8eKNj7pjmoeFyh7FHSvGkxa/ny7gkS+MYRMxzsEWewkmNYKfXY5UcVC0obfWySpZYLILwKAWZC/CtrAGUftTcOpuLYDxk2gv8Ks/ZtNxXfeIzAcgGoimE9Xw7/zlM9h5JyfQ/Ef2vfu6nYuJ2ehCS1kK3syjtk9ettXJjIrC6luJd88PEF6SbvJoEBjjGfdo7hJ/HhuQ6VYpuzsPxGQAGUT2W9sGM8pge3oNlBJPfSWsXYPuiX4qoF44TlTQaQTUVOQC7oL3GFRLi94D/GcfnzQPLHh4x9xGEYqzcn6pGD4XNhr1P1CQKgWyek9NWtP66aeJOz4vZ8E3j7IYRMfHOLxualmv/4b08mvIpQehtKFajXp9OtDIfPLRMSY2ZmRoxtCegddcXFF5lLrX9FqFELmUYnOFFM2mngYadN6omNFZ+pj9LX4F5fXdItE3l7zdZOEOovi4C7lI8HBm5We3kDT7wh9G6HYICgeOmEgYohgFSNMG6yl+34vpL32Xo62Tqpc5GBqGEFhDW6A 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:(4636009)(366004)(66946007)(66476007)(66556008)(5660300002)(2906002)(6486002)(4326008)(26005)(44832011)(2616005)(16576012)(508600001)(86362001)(83380400001)(6916009)(8676002)(956004)(7416002)(316002)(4744005)(186003)(31686004)(36756003)(54906003)(31696002)(8936002)(38100700002)(53546011)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Y2VnRzJ0L2wvOGVXUXZtREZ4czVaYlNWNVJ0Q09LZWcydk5nbWYxUXl5QmZR?= =?utf-8?B?dXpySDNFZy9qcWxXamhoU0ZaQ0VnVk5Ga1lnRFk1WlpndS9LQnFUT2M1MU42?= =?utf-8?B?bzNGRDA0aW9lanZ5aFU4d29rOVo1SFJaRWVLYnZkVEZnR2FKS3ZyUG5mTVMy?= =?utf-8?B?bGZRMWtTRUE3V2hXWVpNaE5NMUk2MlNvR0s5TUwwOHdyRE9sYUpZZU5WTHN0?= =?utf-8?B?TUJxdGYzN0FIUzhqMkhrZTQ0ZE43b1NQeXJRd0gwcmNpT25Eb0xrWW9WZ3I0?= =?utf-8?B?d1FMSmwxY1ZlQ3d0ZW5SWEN5eFQxb0F6cURmT3Y4dFI0TnpTeU8xVkZ2dTJq?= =?utf-8?B?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L0w5?= =?utf-8?B?am53SHczSW1JVE5vWUJUV1FzendLZEQxcUxhbjdYZmRIbjJZZzJxVWFHSE5L?= =?utf-8?B?M05Ib1lNYTNCbDhZWG1kS2U5WXVrdXltTWVTKzdMTFowSmdpOThDUjMzcHZP?= =?utf-8?B?RFhLdGxOaUJDblUwMGhNTWV6bDJKTjM4NFlVSXBYemdhVHNITkhYOFNDeDM5?= =?utf-8?B?dE9vRVlyRnk3VlVTMkNkWTRzei9uRElMdE5HYndFOHl2Sk1ZcWdPVkw2WHdJ?= =?utf-8?B?ZnRPN3dUeHVjOGxhT1pCN1pRc2U3OUxvc0tmeUpnekxjNU1rUVRTVjFPS1ox?= =?utf-8?B?WTdTTDJkR2NzTlRidjlXVHhBNlpWTmx3NEtsVklienphalhCZFlXaS96bkE1?= =?utf-8?B?aVVDdVIzTjI5bVBudnhKNjQ4V0FTMHZoNUd0dERIa204cHNQWFE4ai9XNytW?= =?utf-8?B?M04vYnZja1EwVndsZnNvTkxSSjN2MDR1WUtrQ3BxNmZhSVhlUitwaFkwWGRw?= =?utf-8?Q?z2wgfLpPldcRBXdVFsP0IjmTK01CCee4PG6eeGm?= X-MS-Exchange-CrossTenant-Network-Message-Id: 6f18fb8f-a9f2-4929-bf88-08d97ef0a8ee X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3320.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2021 00:17:14.3993 (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: BTz+jsketzd5mFnbrjhz9zuLFKZfehK4Wad3pu0RfrnWe88VGW++VbMTyxWzyc3RxHFsgLQbXYTi+vPK4SQszA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4419 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/23/2021 5:19 AM, Greg KH wrote: > What real workload can actually use this? > I missed replying to this. User mode runtimes is one the usages that we think would benefit from User IPIs. Also as Jens mentioned in another thread, this could help kernel to user notifications in io_uring (using User Interrupts instead of eventfd for signaling). Libevent is another abstraction that we are evaluating. Thanks, Sohil