From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E982C433E1 for ; Wed, 26 Aug 2020 08:15:25 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D919B206FA for ; Wed, 26 Aug 2020 08:15:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D919B206FA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=leiner.me Authentication-Results: mail.kernel.org; spf=pass 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.92) (envelope-from ) id 1kAqaK-0004nZ-3v; Wed, 26 Aug 2020 08:15:08 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kAqaI-0004nU-Tr for xen-devel@lists.xenproject.org; Wed, 26 Aug 2020 08:15:06 +0000 X-Inumbo-ID: 93d1629e-2bf6-4b7b-8a70-7f46072b5982 Received: from mx2.mailbox.org (unknown [2001:67c:2050:104:0:2:25:2]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 93d1629e-2bf6-4b7b-8a70-7f46072b5982; Wed, 26 Aug 2020 08:15:04 +0000 (UTC) Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id D2A0BA0979; Wed, 26 Aug 2020 10:15:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id aPdJOFEKD5jE; Wed, 26 Aug 2020 10:14:59 +0200 (CEST) Subject: Re: [PATCH 2/2] arm/xen: Add misuse warning to virt_to_gfn To: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= , Jan Beulich , Stefano Stabellini Cc: xen-devel@lists.xenproject.org, julien@xen.org References: <20200825093153.35500-1-simon@leiner.me> <20200825093153.35500-2-simon@leiner.me> <374f42a0-b618-8b90-71b5-0a865ea1ddbb@suse.com> <00bdd0ee-8f18-4580-01c7-01c95f3a6184@suse.com> From: Simon Leiner Message-ID: Date: Wed, 26 Aug 2020 10:14:58 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -3.21 / 15.00 / 15.00 X-Rspamd-Queue-Id: A089237F X-Rspamd-UID: 5466bc X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 26.08.20 09:59, Jürgen Groß wrote: > This seems to be an Arm specific function. Is that a problem? The caller site is also ARM specific. > virt_addr_valid() seems to be a good fit. If you prefer that anyway, I will change it and resubmit that part of the patch. Simon