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

[XEN PATCH v1 0/2] docs/fusa: coverage-gap justifications and generic timer arch spec


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Tue, 21 Jul 2026 13:47:27 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=9Y0uwUT0v2bBAqwuFW9QXjD3kDY6jx7rvuT+bH/aqLw=; b=qjkFOz1G/U1cGSDrFUxtlMuecezgDyE5j7zoi5XANE4JOUXZ2cOnEjig2cUeVc51BlEIJ6mzvsS/iDP84SlhwJhlrUHPCqyFKPxETWY3HXSp5fHFZJbwOTQxGg3OPqjVOyC33YwaR1gSpkwoiicCFAxjt/Gv+5GQa1ngStAuvcBkEag2wwqRHE08mAbrJxicxHjpqHGYQtzVH5b0TAaMcHkirhYRHroehZ2/JutgHJJ47Q26l9EypBxbwGGrIuHjNTL5L0wPeFUesrvx0hNkUKr3oXlo4E9rBlXljFumGG3Hq/5LD42UNplnvI0ryDHe8U4MCuSgQV4bKuxUm/M/dQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NIhAN/yL8h3vrlWyHu6j7OJDv2xbtmuaPlA7KbBUcD00CCpBo0vjTDcPtO2rkNpXQQpr/3qgakVfvj2NIgjfRiec7B7UkuJOqSnF7+cb0e0aBWHz24DfoszFpMfMKqOLSEjwKv4++1pseNYGvH9+nEPjfwOxyYsvgqiYucqRNA+mXdDXJRNlYfakUmxwJZYm2ojX9U9r8dG6921Yqipjd5Y5svkyKuCJ91khXdm4n6D6T2tK6BuwSzE3UFC0UqvnijIXH2CFAlJxwM6NGCyCOIzvC5pdO3M1X+TZwgpX05VEixpoYPHdjuNbUu9+ZW4FMLRj5om2WMHTEQYS6TOhcQ==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Cc: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Volodymyr Babchuk" <Volodymyr_Babchuk@xxxxxxxx>, Artem Mygaiev <artem_mygaiev@xxxxxxxx>, <matthew.l.weber3@xxxxxxxxxx>, <harunobu.kurokawa.dn@xxxxxxxxxxx>
  • Delivery-date: Tue, 21 Jul 2026 12:48:07 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

This series adds two pieces of Functional Safety documentation under
docs/fusa/.

Patch 1 introduces docs/fusa/coverage_gap.rst, a table that records the
code regions excluded from the coverage report because they are
unreachable by design. Code that no test can reach (for example a
defensive default arm of a switch that no caller can reach) would
otherwise show up as a permanent coverage gap even though it is correct.
Each exclusion is given a stable id, the excluded source location, and a
justification stating why the code is unreachable and what would make it
reachable again, so that a genuine gap is never hidden behind an LCOV
marker. The two vGICv3 default arms are documented as the first entries.

Patch 2 adds the arm64 generic timer architecture specification under
docs/fusa/architecture_specs/. An architecture spec is a prose document
that explains how Xen uses a piece of hardware -- what the hardware
does, which parts Xen drives directly, which parts it emulates for a
guest, and how they interact over the lifetime of a VM. This one covers
the Arm Generic Timer and traces to the existing
XenSwdgn~arm64_generic_timer_* design requirements.

Both documents are wired into the docs/fusa Sphinx toctree.

Ayan Kumar Halder (2):
  docs/fusa: add coverage_gap.rst tabulating vGICv3 LCOV exclusions
  docs/fusa: add generic timer arch spec with ASCII diagrams

 .../fusa/architecture_specs/generic_timer.rst | 215 ++++++++++++++++++
 docs/fusa/architecture_specs/index.rst        |   9 +
 docs/fusa/coverage_gap.rst                    |  41 ++++
 docs/fusa/index.rst                           |   2 +
 4 files changed, 267 insertions(+)
 create mode 100644 docs/fusa/architecture_specs/generic_timer.rst
 create mode 100644 docs/fusa/architecture_specs/index.rst
 create mode 100644 docs/fusa/coverage_gap.rst

-- 
2.25.1




 


Rackspace

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