Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp73260pxb; Mon, 8 Feb 2021 15:40:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJySkCfQIM7VL9HE5vP2rds4APEoMZwfES8tfyhmjXS0a8PuQHuYwKXVOEynDr/ZNQfrdPNA X-Received: by 2002:aa7:db16:: with SMTP id t22mr4078468eds.301.1612827624246; Mon, 08 Feb 2021 15:40:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1612827624; cv=pass; d=google.com; s=arc-20160816; b=Mumsu52EtR6hmk3z5tDzfcV/Z2LG5BgQV5sCsiV16TOmc28/YpomYoZRHvp4k32102 myJqAOsPw5Rc7zcINDfh8cW0HNBOt+NbpN0MPhcPrVzMiwjetlmuezSUw0YDr8vlmyJY O/W0NUjxUgRRplY0B4Pb2O0DT9I7aie1r+j5IKQV9A+EniR8DSTpfSDwYAChFUMY2FcA JDLhUx7pZG2C68mxNm/82u5PxSa3C0YWIKpZUi4WgA4mYbIJFoDmvrZQvHVEK+odzI7n eanVl5OJk8Whl0cRujnPVqwV5W3ygI7x//rm5k/MVfxsoCI2bDQSdZqCajWwIy5P988v TYZw== 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; bh=POYpBYt3+KxDmyUbp+MzcOudNXbZt7Zq8mS8+HAxE78=; b=Ur+sdf53OZA4FHlKgNg/71JIZC+U24vDE5+hg2rKTlO5lcQIpjtQmRN4s2inM9a01V F2N5wMCWvDOrpScaF4Tx+YqTgq3CjLuxodHV+1FVTzpZ5QX8owRpf++B2+dp9/iuaf74 GF3yJJQbrg+DFfPWl8jxPq3hZvtvI5zgZB9MXdnHvkl5oz4IcfFji7SLEU61F2rvCCy6 xFbMTe3Apsk3kEM4hxPP0DSVOSH/G4LuIJOLwQu+aaq/GeaCfb44IMnzsTioy0syrhv4 GPWSOSvo7MyjcrUVbFdBsO/7eXL4bSdjKPx67CLCjRSIrvqWqBXZViNGtYvBUJbN68yn duxA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=Tdyjq4ew; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=kAxMb+fK; 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 z11si10118024ejm.578.2021.02.08.15.40.01; Mon, 08 Feb 2021 15:40:24 -0800 (PST) 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-2020-01-29 header.b=Tdyjq4ew; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=kAxMb+fK; 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 S231230AbhBHXgp (ORCPT + 99 others); Mon, 8 Feb 2021 18:36:45 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:58416 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230519AbhBHXgR (ORCPT ); Mon, 8 Feb 2021 18:36:17 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 118NOUER149491; Mon, 8 Feb 2021 23:35: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-2020-01-29; bh=POYpBYt3+KxDmyUbp+MzcOudNXbZt7Zq8mS8+HAxE78=; b=Tdyjq4ewbUlJ0Qi2cIzw2xyiWRqdOq/oIQXmnfaCtF+p44SEEozxQ1aDWsdso2kOdSvV Xltw5msaruw9PWCG/+XpzvnFlPuTYKtw6OfDPsKWx1IuGCIP1pmyOsSLxZtpQpgvC8n8 bDo5FfAv5yTRQ79cUchxBw3ABLLuNa+MRCh2jjREYCZgK7oYZTVkMZbEQik/LnKFMeWW ZBJF18RIFLJYsY1hnZacFO1XhlsGPNxZslEFVdFdruPraaOoZRxomCqW7ZESq/j/24t6 ijrwipd2/X7yXVafO3L82cDUJFKimB1Y3qKmucRJa6XfvEhaUt8Qv1k5AfCRB2VrzB2R Yg== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 36hkrmwpyn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 08 Feb 2021 23:35:29 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 118NQZd1156628; Mon, 8 Feb 2021 23:35:29 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2059.outbound.protection.outlook.com [104.47.36.59]) by userp3020.oracle.com with ESMTP id 36j4vqhu68-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 08 Feb 2021 23:35:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oWaylq31GoAWTade8UFzPHUgagvx5bwWSt54sNe3H8G3D5US+N3w9n27clkdNvyexPSl6EMty0MJmTKjpRfjAj2YYV/+dmO9W6aI5I0kVZGS8fsIwCPBnvziQKJrFI4pTsW5N2alLQNujtGY0s3ZcxvcNC/8drEH9GR69yr5LTadp/YcqojlrC+0EsP38ayVVsm4oVyUyjg5SFaRxwnV+WaNLrq2so+zVuNywud963qBvvq0dbNCtarZIk+BhCzsoBxYTR+SK0ntHvSuQKQrT07KbVOQz0wtSrstbS4P8X+Z9ocwOLSWK+NFkJrM3N5Z0+9FZx9D7WHPQyQRBQ8INg== 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-SenderADCheck; bh=POYpBYt3+KxDmyUbp+MzcOudNXbZt7Zq8mS8+HAxE78=; b=efVuE/EOBradGKK28j85Gz0iEcVR0gm0ijkDvnaTAJtdWxNNlb/3kGCLkLd5tn8OTriyO9ISwRDJ7baT3oQLqzk1Mb+4FdeY53HiFCaCa1JQ7HOsdFdttwBahzfy/Aj50eYADJEk5vUpNH5XipeEMm6NzJjXuHG2bGDkhT7OoGhGAHZV5J7CnwwY1tc9S/BkIhLMEywcm8OptWRlW+GZmuCOdJq9OBDfaXWxx8276LF0XriHfPMC4p7bHid5eIma883i1IH9C9JMzwAnugffd+byyzJUHS44J+b1dnNzwaOKBwRJ5lCLU1F2rYkfmmHeX3/c3TBg+qIsQz0KBlfXWQ== 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=POYpBYt3+KxDmyUbp+MzcOudNXbZt7Zq8mS8+HAxE78=; b=kAxMb+fKO9P4iXR2GPe4rDzmfCR4j4IG47gE1snivWfutyE3lynJQOA3EVQK8mgiNiVhfq7AL4tzI1ZfeIL2r/MCvZSS7B3YrSm6rVkxIh3FlvBgEFQY8YkIqXA2JtQuLN3cSEVclM+cUKDy0DRcq/lBW0vKSnGWnoVmHe/cOm0= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oracle.com; Received: from BYAPR10MB3288.namprd10.prod.outlook.com (2603:10b6:a03:156::21) by BY5PR10MB3937.namprd10.prod.outlook.com (2603:10b6:a03:1fe::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.29; Mon, 8 Feb 2021 23:35:27 +0000 Received: from BYAPR10MB3288.namprd10.prod.outlook.com ([fe80::f489:4e25:63e0:c721]) by BYAPR10MB3288.namprd10.prod.outlook.com ([fe80::f489:4e25:63e0:c721%7]) with mapi id 15.20.3825.030; Mon, 8 Feb 2021 23:35:27 +0000 Subject: Re: [PATCH 5/7] xen/events: add per-xenbus device event statistics and settings To: Juergen Gross , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: Stefano Stabellini References: <20210206104932.29064-1-jgross@suse.com> <20210206104932.29064-6-jgross@suse.com> From: Boris Ostrovsky Message-ID: Date: Mon, 8 Feb 2021 18:35:24 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 In-Reply-To: <20210206104932.29064-6-jgross@suse.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [138.3.200.35] X-ClientProxiedBy: BYAPR05CA0001.namprd05.prod.outlook.com (2603:10b6:a03:c0::14) To BYAPR10MB3288.namprd10.prod.outlook.com (2603:10b6:a03:156::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.74.101.99] (138.3.200.35) by BYAPR05CA0001.namprd05.prod.outlook.com (2603:10b6:a03:c0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.10 via Frontend Transport; Mon, 8 Feb 2021 23:35:26 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6f78cb41-f1ae-452f-772d-08d8cc8a36fa X-MS-TrafficTypeDiagnostic: BY5PR10MB3937: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:475; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uWcgWUmJhvzm0ZV2r+ItGjccmzjlbQWj5MjTgggVIlNkfM3FeOsnXbH6LvFewtLboDowpB1OMeLxuiC8mAaeyX3ki/VEh6jcf9HPWce8KHcTR39VdrfVcXWlyyOUbKe7Ga0k8n1YeLsIVyOH3UJBWK0+9INjdEAiybNjTPmCGQNddf4E56rA/qHHzVuWCjIM288BkWI5ccJBqXABonpA565nRBd+bnpe/3VnmUFyEYv21YrRyw9s7LGF5HiFBjcfQanrlsZuAEYfE4KRypLhz1c4rtM1xP98+QfKS/CWG33qLyg5K6Ts20m3eXnCTfN2WRNysxN+p2Ho8czzhCq30PEIhsGSJ7GaULx1KLROql8NLnsipqnqlkfZcZQarZyIrdsadVvfhrSQ5l6/56J+spxvzFPeOxOl1IBl/3LF0FkPtIQ6sHFZozMpwpH6jl33ijjjMXKMVUbwVODftRT2tOX50Gti3rq78Yhy0w9oRgz42KzJTfNlDNsCbFQ3SesOo7nFEwGKBglYpFMLKhrJb/kNHgimmfRTFi5yRfgmePRh1wDaJFh58oMqEwj4wuc5FaTMtetWAyXscWiNGqDzNw5BCDdG1bpRo7BABVFfsHk= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR10MB3288.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(376002)(396003)(366004)(136003)(346002)(39860400002)(316002)(6486002)(186003)(16526019)(2906002)(31696002)(26005)(16576012)(478600001)(83380400001)(36756003)(44832011)(31686004)(53546011)(4744005)(956004)(2616005)(66946007)(4326008)(5660300002)(8936002)(66556008)(8676002)(86362001)(66476007)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?aDF0NkhDcXA5OVdRSitIWnNvc0VMMGVCNnV0eG9pMjBBcS90YnJhb2lJOFlP?= =?utf-8?B?NDl2WGZtTDhZb3dRM2NKaFRCSlVXWit2RE1oMFlGdlJzZjVwUGljNjBKTHdH?= =?utf-8?B?bTZmMmx5MnQrMVp1OERCTHFheEFRNGQxQlV3ODB1ZnBNUXBjMHExdmtiMXVR?= =?utf-8?B?U1F2UmJVWGlLM3BvL1h4QU9sSm44R0Q0aVNRZEl5bC9HTWhCdm9wQjdvVzNI?= =?utf-8?B?bnJJNkVPRWE2TnJUenAzRXZINFp4aVNYNnFwQ0lIY1kzQm1qSnlIejJZQUVP?= =?utf-8?B?RFpKNWttL3Q1SFYzQS9jYXJuSU54NWJDRmkyVCt4L1pDbFpJMDdWV0dFdWFl?= =?utf-8?B?UjFqWlZIMC9vWGxtY29XVVBJa0ZTRGpKMW1BWVVMRUJPRlZHZldFeEUwZVNJ?= =?utf-8?B?TlhTbnZiU2ZSVUhjLzBsQUs1K2x6c1JNakFhVHJtcTJvTmYxb0RmQkpOV0E2?= =?utf-8?B?U0crTDgxemxMOW4rZXEzK1RkeStSdXZwSlFTYm9LQTNNYWl0ejVrbEhpRUds?= =?utf-8?B?Mm8xMU80VGo5R1RoYWNBWlcyTEVNSDFTWVY3R0FzOGZ2TCsrZHh0b1p6eTFn?= =?utf-8?B?cENzazh3c2xZdFgzcmJIOW9kc2paL0VSTlhQbnoxQlJVUktuSGtJVjQ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JmazBBUlc3Y3MyWjdQYUJFWmhY?= =?utf-8?B?ZG1KMms5K2x4WmV3bjYzZ1l2MWZUMElTcXFoVHFINUhvNVFLaWpRNHptVWpB?= =?utf-8?B?MS9QUmVGa2RITkpSQkdSYmEzdDduR1ZINkc1VHVWc2NHTUZkb2dlbjhWL0Vv?= =?utf-8?B?NmgzTGRNc0psL2VmcS9SYk0vT3ZCUWFJTE9kT1ViQzRHQzdDOTN6SXVieHJF?= =?utf-8?Q?ueUk4QPbLN70cWBAWKT6vljmShqMRWhrTYC15Vq?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f78cb41-f1ae-452f-772d-08d8cc8a36fa X-MS-Exchange-CrossTenant-AuthSource: BYAPR10MB3288.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2021 23:35:27.4871 (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: rVdI3luxQnN5IFlbz7g9GQexEkVL+N4Z/v8g3IxRnc+tj1rEBcM//VjFq/z4V/1U6CVwzD3ciNN7BOBT0gBqRr20gFEIwk1n4xWOzDRFsjQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR10MB3937 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9889 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 adultscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 malwarescore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102080130 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9889 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 spamscore=0 impostorscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102080130 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/6/21 5:49 AM, Juergen Gross wrote: > Add sysfs nodes for each xenbus device showing event statistics (number > of events and spurious events, number of associated event channels) > and for setting a spurious event threshold in case a frontend is > sending too many events without being rogue on purpose. > > Signed-off-by: Juergen Gross > --- > drivers/xen/events/events_base.c | 27 ++++++++++++- > drivers/xen/xenbus/xenbus_probe.c | 66 +++++++++++++++++++++++++++++++ > include/xen/xenbus.h | 7 ++++ > 3 files changed, 98 insertions(+), 2 deletions(-) This needs Documentation/ABI update. -boris