From patchwork Mon Aug 19 14:26:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 171640 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp3060969ily; Mon, 19 Aug 2019 07:29:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbV77UcbD2fTnIjo8C5j6JV9M4tCV6H9jj54p7St2S0WX15PWp+bI3skM/oNtiMrk5m7FB X-Received: by 2002:a02:ce35:: with SMTP id v21mr25771526jar.108.1566224973621; Mon, 19 Aug 2019 07:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566224973; cv=none; d=google.com; s=arc-20160816; b=LNlg3wlyaZnmmJy1Ac58kTc4ipxx9fiBCb/MtUA2Me7EX1x6uMt+NYYWArrQHc+5iT DHQE4GecIMldmpc/Gk2BpSPBfYRm6rsQDaHXFr0KaNTE4TCE5TBOHN6F7UFgBPEED9rR v86YMhakcY5q/ddI1xEHapyKiJrCepUDfbVo/JAbEauJc1Vg3L+v2dZuLn2WHOH9I01N tszc7YU7+x6rQWUozEV7YBwemjlGjPUUsnOZ5JGQhiEc/PUOXxPtL65+EFdlBM1d1MWM YxAN3DmaERBj9tpvz6bUg/SAnierQY8JXYrrhURNOzMC+JcU8gHfnyyNOjCWSxjsdBwZ DmMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:message-id:date:to:from; bh=XCKClxkBjzCqBq8o73bbfC8xy+wsrRaXlniB6JQXr4E=; b=FbY7kUXwmG/mkXUIUQJHOXAoe/vT8DcpATJ5zNCP2t03SdJVMzuzuSBnJKDx/lYwS3 vGSKsMEbpEnkbi6LV/Z35NpI4ofJg9GzsVZ2/VicBM31hvYrhXzd4zV41LqsdgZHWuMg kOF8G/HSOPNkGDjLQ1FO563LxUrU2q2iUULXPJLdE2s/Bb4r3Owzi6vpBG8TIH1tuS0B 7wg3GpK2V8KWooZRMT8ZJnvI7n0jCeNoCj09X8Guv2+jqYwcXeEY6sPfgKrEPFUrPR/n oStvsql4ClQzuLjQkemlCN+r2CRw15W9SKp67YW3kQZqZUjlU/c79jU8P/Pyr69loIiR Ps0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id g65si16032416jai.113.2019.08.19.07.29.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Aug 2019 07:29:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hzicf-0007Hi-Nx; Mon, 19 Aug 2019 14:27:01 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hzice-0007Hd-C4 for xen-devel@lists.xenproject.org; Mon, 19 Aug 2019 14:27:00 +0000 X-Inumbo-ID: 66f5bce2-c28d-11e9-aee9-bc764e2007e4 Received: from foss.arm.com (unknown [217.140.110.172]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id 66f5bce2-c28d-11e9-aee9-bc764e2007e4; Mon, 19 Aug 2019 14:26:58 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4429028; Mon, 19 Aug 2019 07:26:58 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 093FB3F718; Mon, 19 Aug 2019 07:26:55 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Mon, 19 Aug 2019 15:26:49 +0100 Message-Id: <20190819142651.11058-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH v4 0/2] More typesafe conversion of common interface X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Jun Nakajima , Kevin Tian , Stefano Stabellini , Suravee Suthikulpanit , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Brian Woods , Tim Deegan , Julien Grall , Paul Durrant , Jan Beulich , Boris Ostrovsky , Volodymyr Babchuk , =?utf-8?q?Roger_Pau_Monn=C3=A9?= MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Hi all, The first patch was originally send as part of the series "xen/arm: Add xentrace support" [1]. As all the work but this patch was merged the series is now renamed. There are an additional patch for switching map_vcpu_info to use typesafe gfn. Cheers, [1] https://lists.xen.org/archives/html/xen-devel/2018-12/msg02133.html Julien Grall (2): xen: Switch parameter in get_page_from_gfn to use typesafe gfn xen/domain: Use typesafe gfn in map_vcpu_info xen/arch/arm/guestcopy.c | 2 +- xen/arch/arm/mm.c | 2 +- xen/arch/x86/cpu/vpmu.c | 2 +- xen/arch/x86/domctl.c | 6 +++--- xen/arch/x86/hvm/dm.c | 2 +- xen/arch/x86/hvm/domain.c | 6 ++++-- xen/arch/x86/hvm/hvm.c | 9 +++++---- xen/arch/x86/hvm/svm/svm.c | 8 ++++---- xen/arch/x86/hvm/viridian/viridian.c | 16 ++++++++-------- xen/arch/x86/hvm/vmx/vmx.c | 4 ++-- xen/arch/x86/hvm/vmx/vvmx.c | 12 ++++++------ xen/arch/x86/mm.c | 24 ++++++++++++++---------- xen/arch/x86/mm/p2m.c | 2 +- xen/arch/x86/mm/shadow/hvm.c | 6 +++--- xen/arch/x86/physdev.c | 3 ++- xen/arch/x86/pv/descriptor-tables.c | 4 ++-- xen/arch/x86/pv/emul-priv-op.c | 6 +++--- xen/arch/x86/pv/mm.c | 2 +- xen/arch/x86/traps.c | 11 ++++++----- xen/common/domain.c | 4 ++-- xen/common/event_fifo.c | 12 ++++++------ xen/common/memory.c | 4 ++-- xen/include/asm-arm/p2m.h | 6 +++--- xen/include/asm-x86/p2m.h | 16 ++++++++++++---- xen/include/public/vcpu.h | 2 +- xen/include/xen/domain.h | 2 +- 26 files changed, 95 insertions(+), 78 deletions(-)