From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 2002:adf:db01:0:0:0:0:0 with SMTP id s1csp664840wri; Thu, 7 Nov 2019 00:59:39 -0800 (PST) X-Google-Smtp-Source: APXvYqwZom8IWcx6FqDLbpPg+OMjPVjLwDQA5RsIyBu/VkptF0wEA0UkhS3q+OyFPm9f0++VaS0b X-Received: by 2002:ae9:ed13:: with SMTP id c19mr1759885qkg.290.1573117178912; Thu, 07 Nov 2019 00:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573117178; cv=none; d=google.com; s=arc-20160816; b=aVJJijRSlnEN59YJzezVvCstqEhOy8vTsOKYpzfChCajKjhNzdXl3PXY3DLUU2p00t Lh3xzoNuee+qP+hr15PxDO2rkeEV6vAmwOzBUCRn5Cn1KVhrhF6019mURSalGkF6yOzE YO5cbieJ2zAN4BeiDTcZRAinQmKSbK/IwyURSRPMOtZUwKXxOvQPA9KLq5pWzDDfQWcQ OUXwSdJIfJYR/0VNpB5iCEbS0uO6ywJ11pCGSQ7JQVB7GgAHr3Tt/71CNTpNdw7YO5G4 VttwnZx4KUZ64+vcTMpXdY53zHbH5XZ9hH2flHqboct0h/ghTQ0o98Wy3k6pPyo4bbUi U+pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:organization:references:in-reply-to:message-id:subject :to:from:date:dkim-signature; bh=oBYm62S+mFLWS831hy80z/RWlVTtY3Fob09yp/WmBlA=; b=hLIuYwb63wz4wUmY9Abb4B/Ia1mfO7z+cEz/rVKitU1yDzyb6pTwktGcWexpqwjo7B SVfCOnB3QP5UZ+CM99oSo9Sr2K/n4NWSpIdRsxVWT5MZnMUE5HeNLY4rgC8z1svRTc3a 3CNmreHOqo/P2cvDCnvUasiY/q66t6d6ag7/mKq2f2vbcJi6WeIhrCpgw/7XquvF7edf FbXbYCoYQbYbKF/rm/JZT+1xwfFInl7gVf+/lTj7kkeEhFnxhk53hfmj+rvcC0aa+LQt NPgAz72yJ8W/JBH620Be9yjFyVltHroNAkecUSTy/TeZmU+fsQOdGrN1K+OlWF2rJdij ZXcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=TCKhFlO4; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a17si697075qkb.211.2019.11.07.00.59.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Nov 2019 00:59:38 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=TCKhFlO4; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:39904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSddh-0004wl-BM for alex.bennee@linaro.org; Thu, 07 Nov 2019 03:59:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52599) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSdUm-0000zY-GZ for qemu-devel@nongnu.org; Thu, 07 Nov 2019 03:50:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSdUj-0007lQ-EB for qemu-devel@nongnu.org; Thu, 07 Nov 2019 03:50:22 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:36279 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iSdUj-0007Zv-7v for qemu-devel@nongnu.org; Thu, 07 Nov 2019 03:50:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573116619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oBYm62S+mFLWS831hy80z/RWlVTtY3Fob09yp/WmBlA=; b=TCKhFlO4z1dOUJBZP/yg4o456wfg7+Nw/IAWvpo9ULNA3ZrGa1Wc5cVRIJs8GMEiX3sl9D ng4NpDYg4/c8fWJ5OaN1FIpijCesFNqmEN+1MiWH/4WGW02sRbjm6YwEX9RCmbqWuzgj3P llbGMGtK5RkUFm56DRYzquRBN01rWyQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-416-xWsmakw_PwWG5rFTz12Wlg-1; Thu, 07 Nov 2019 03:50:15 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 28BB2800C61; Thu, 7 Nov 2019 08:50:14 +0000 (UTC) Received: from gondolin (ovpn-117-222.ams2.redhat.com [10.36.117.222]) by smtp.corp.redhat.com (Postfix) with ESMTP id F037A600D3; Thu, 7 Nov 2019 08:50:08 +0000 (UTC) Date: Thu, 7 Nov 2019 09:50:06 +0100 From: Cornelia Huck To: Guoheyi Subject: Re: [RFC v2 02/14] standard-headers: import arm_sdei.h Message-ID: <20191107095006.16ebe25e.cohuck@redhat.com> In-Reply-To: <059c6396-bbfb-2dd3-f7cc-7c64bc2d3ccb@huawei.com> References: <20191105091056.9541-1-guoheyi@huawei.com> <20191105091056.9541-3-guoheyi@huawei.com> <20191106185240.3f5e2c2a.cohuck@redhat.com> <059c6396-bbfb-2dd3-f7cc-7c64bc2d3ccb@huawei.com> Organization: Red Hat GmbH MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: xWsmakw_PwWG5rFTz12Wlg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Peter Maydell , "Michael S. Tsirkin" , Marc Zyngier , qemu-devel@nongnu.org, qemu-arm@nongnu.org, James Morse , Paolo Bonzini , wanghaibin.wang@huawei.com, Dave Martin Errors-To: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-devel" X-TUID: W2FkXuz2O8ww On Thu, 7 Nov 2019 09:40:49 +0800 Guoheyi wrote: > On 2019/11/7 1:52, Cornelia Huck wrote: > > On Tue, 5 Nov 2019 17:10:44 +0800 > > Heyi Guo wrote: > > =20 > >> Import Linux header file include/uapi/linux/arm_sdei.h from kernel v5.= 4-rc5. > >> > >> This is to prepare for qemu SDEI emulation. > >> > >> Signed-off-by: Heyi Guo > >> Cc: Peter Maydell > >> Cc: Dave Martin > >> Cc: Marc Zyngier > >> Cc: Mark Rutland > >> Cc: James Morse > >> Cc: "Michael S. Tsirkin" > >> Cc: Cornelia Huck > >> Cc: Paolo Bonzini > >> --- > >> > >> Notes: > >> v2: > >> - Import arm_sdei.h by running update-linux-headers.sh > >> > >> include/standard-headers/linux/arm_sdei.h | 73 +++++++++++++++++++++= ++ > >> 1 file changed, 73 insertions(+) > >> create mode 100644 include/standard-headers/linux/arm_sdei.h =20 > > Just a remark that I find it a bit odd that that a header that looks > > arm-specific is in the generic linux/ directory (already in the kernel, > > I know.) Is this for sharing between arm and arm64, maybe? =20 > I don't think arm platforms will use this header. In section 4.1 of SDEI= =20 > spec, it says " Both the client and dispatcher of SDEI must execute in=20 > AArch64 state." > So shall we move it to include/standard-headers/asm-arm64/? Well, the kernel already put it into the generic directory... I'd just leave it like that, then; moving it in the kernel is probably too much churn.