[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH for-4.22 v2 0/4] ns16550: bound interrupt handler execution time


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Mon, 29 Jun 2026 11:45:27 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=hZiRNyN9yEiDUVCRpgswufpjL+J2KlUWgdLgVhIuRPY=; b=NduHMPpugQgZgVo51jFM28lu7y4tLi13ahI6Ots2a19amxf0K9FGDECqMqGpwTOIacr2F4ZJD6FRNhHR62Y0xD4HVUbSfHLKDTwdM0gmf1uls8SGEknxOEUrIiCr1eAkBZwrB7Y67TBTiGoamaW5cu7tf1mKKtaywohvgM8F1ImKdrqTDFZlSaXfuJkV0RvAYoSkjRawrJfu3UJADHIYiXzM/kqDHZZEWLIz4t9LuGJrp1RDXj4bJk5t34U29WQijda5M93oQRJ1132xSYn45M9grkbuguAn/L6Xxl/BQqQeTjxRz+Zc/p7Jw9EHAbC25ArXAqCzmJbrFVThRiZyiQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eOCATr/J0rXhbak2utGf50ymyn45g37DnSILzZ55f5/uQg7Kp1or7gr1TB0gMlEmWboxaLorTMdcsnUdsnQ2V45Njah+0vDHlg21NbTo2VC+VaE0rofryqz9nNnBh7je3TphMzE7bkAFc3pZI+D+CvkVTeaDkM7kEABO4S4U+Uc/6yCeDvFWlU+46cNQ4EXfy//zsRxZvgdJEIXNv+PV0QJk8hh1oF1KDhu9UnfJgftsmVGKisbvwP6iBIqJRxVIS6eJu/lpEamSRb7eRApEiB97y1g9F07U7m03CSZf4lcyPiac7pTmIXdadfMZZvSymqBEStPAl8k6vwGjfrW9SQ==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=citrix.com header.i="@citrix.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Timothy Pearson <tpearson@xxxxxxxxxxxxxxxxxxxxx>, Teddy Astie <teddy.astie@xxxxxxxxxx>
  • Delivery-date: Mon, 29 Jun 2026 09:46:41 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

Same approach as v1, but the introduction of a generic disable_irq()
handler requires two pre-patches for PowerPC and RISCV.  There's also an
extra fix for dealing with the interrupt being disabled while executing
the handler in do_IRQ().

Thanks, Roger.

Roger Pau Monne (4):
  riscv/irq: define a per-arch irq_to_desc()
  xen/ppc: introduce a dummy irq_to_desc()
  xen/irq: handle IRQ being disabled while executing its handler
  char/ns16550: bound execution time of ns16550_interrupt()

 xen/arch/ppc/include/asm/irq.h   |  6 ++++++
 xen/arch/riscv/include/asm/irq.h |  4 ++++
 xen/arch/riscv/irq.c             |  5 +++++
 xen/arch/x86/irq.c               |  4 +++-
 xen/common/irq.c                 | 12 ++++++++++++
 xen/drivers/char/ns16550.c       | 30 +++++++++++++++++++++++++++++-
 xen/include/xen/irq.h            |  1 +
 7 files changed, 60 insertions(+), 2 deletions(-)

-- 
2.53.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.