Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp8113841pxb; Fri, 19 Feb 2021 07:44:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcDzGcBeP2x5ZOpgD0ldA9yT+sCIWs2d0zFZqJ7e4JlbsbE3eAeK23w569sJdRHfSuH/fq X-Received: by 2002:a17:906:f903:: with SMTP id lc3mr9279949ejb.163.1613749449528; Fri, 19 Feb 2021 07:44:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613749449; cv=none; d=google.com; s=arc-20160816; b=NJizoSqaDv1P+NmjDPfaToPKbgFTB0YCPkKM77AJv9N5Cxbme0DXQKD/Mu2q6HDu7R 6btOhvQwTRFJtJLkJ6iSDsrwH+g2tkCXoLaNB+7uZ6J2CJCVNbNQghuvz5JyBiMN99jY tTbzfU3ACro2HbB+iTCWwV5PkYvAwKcA/duvRnCkufpRiifxc1dB6a9QD3a2EQvfvyD3 I40n3s/qzmCSR+Itu5jHszH6FEHhKrGmnT/e4ZS+t+z37PfuOCp2Y7+f9GrT4pibuYtH VP3+wJ4DyubAgQvs5Hm4hJs4aO3ZMW7YDuOzfHpMaiHvdResuJzXHqyJ5LbFyKd6jWmW LV/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=MHxag6mUxa0dootKy2U+lJVR2k8UiaKbpKfVyKM/EZ4=; b=Y1AJ5VtMM7V68ihDKjNB+D15Ee3XPLNrbaQy7OQf5712Erl5cyDHEi8ad2xGYwotPW bxEtRbPJn0S8Ag4lsNGTrt5gqEEoBFV4DvwbpozgFy2GrtP58QovyUtbnhVJkowpg5L1 11vWEFcm/UN0BFxGtMOln10NAy40siyaOlHrztGd9QgkhhnKfZbtvnYu62PjvlUOgk85 uKormdImAad8/wdvShacqX1ep4znVAAfnthp5NuRJlVoU5Z5sBMjTX+7ts10SsMx99+1 +3khJ48DP7PcDmv6W1dzAJIUecDZtMy7eMosSAILUP2pCeN3dNnlISzdn5gzG2g+ArPW Rpdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=jjsdawg1; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qt10si6722350ejb.87.2021.02.19.07.43.46; Fri, 19 Feb 2021 07:44:09 -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=@suse.com header.s=susede1 header.b=jjsdawg1; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbhBSPlk (ORCPT + 99 others); Fri, 19 Feb 2021 10:41:40 -0500 Received: from mx2.suse.de ([195.135.220.15]:47414 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbhBSPl0 (ORCPT ); Fri, 19 Feb 2021 10:41:26 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1613749238; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=MHxag6mUxa0dootKy2U+lJVR2k8UiaKbpKfVyKM/EZ4=; b=jjsdawg1KZYf+nItuzbxyqaXeDKHiLv6YoeaErBu4tJer4zXSytLV7xk92MixdQUnvPRED iXUz6DrGfs47sGkqcF453+W0zBJW6WReMsknyI3WKg9iAusmhGukYAazPdCEFJ6k8mopm3 ZGwTClr2lapCAwa2bLNQ99xzaXwou3k= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 17FFFAED2; Fri, 19 Feb 2021 15:40:38 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-block@vger.kernel.org, linux-scsi@vger.kernel.org Cc: Juergen Gross , Boris Ostrovsky , Stefano Stabellini , stable@vger.kernel.org, Wei Liu , Paul Durrant , "David S. Miller" , Jakub Kicinski , Konrad Rzeszutek Wilk , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Jens Axboe Subject: [PATCH v3 0/8] xen/events: bug fixes and some diagnostic aids Date: Fri, 19 Feb 2021 16:40:22 +0100 Message-Id: <20210219154030.10892-1-jgross@suse.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first four patches are fixes for XSA-332. The avoid WARN splats and a performance issue with interdomain events. Patches 5 and 6 are some additions to event handling in order to add some per pv-device statistics to sysfs and the ability to have a per backend device spurious event delay control. Patches 7 and 8 are minor fixes I had lying around. Juergen Gross (8): xen/events: reset affinity of 2-level event when tearing it down xen/events: don't unmask an event channel when an eoi is pending xen/events: avoid handling the same event on two cpus at the same time xen/netback: fix spurious event detection for common event case xen/events: link interdomain events to associated xenbus device xen/events: add per-xenbus device event statistics and settings xen/evtchn: use smp barriers for user event ring xen/evtchn: use READ/WRITE_ONCE() for accessing ring indices .../ABI/testing/sysfs-devices-xenbus | 41 ++++ drivers/block/xen-blkback/xenbus.c | 2 +- drivers/net/xen-netback/interface.c | 24 ++- drivers/xen/events/events_2l.c | 22 +- drivers/xen/events/events_base.c | 199 +++++++++++++----- drivers/xen/events/events_fifo.c | 7 - drivers/xen/events/events_internal.h | 14 +- drivers/xen/evtchn.c | 29 ++- drivers/xen/pvcalls-back.c | 4 +- drivers/xen/xen-pciback/xenbus.c | 2 +- drivers/xen/xen-scsiback.c | 2 +- drivers/xen/xenbus/xenbus_probe.c | 66 ++++++ include/xen/events.h | 7 +- include/xen/xenbus.h | 7 + 14 files changed, 327 insertions(+), 99 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-devices-xenbus -- 2.26.2