Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp837193ybz; Fri, 24 Apr 2020 10:04:22 -0700 (PDT) X-Google-Smtp-Source: APiQypJhCMYR9FIjBTtAcFf3exZaLa0Zd5rU9mnqK2nXl+LWVZCbmDq/94N6lsU+gNk7WoFuQJSs X-Received: by 2002:a05:6402:759:: with SMTP id p25mr8605256edy.102.1587747862052; Fri, 24 Apr 2020 10:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587747862; cv=none; d=google.com; s=arc-20160816; b=h3+Lb1Xi+h4TOiMRYVcDocjb0YVRHaMnn23KmQe3EKHbL0l2BPWgwwzPikoSqitDym Vk3o6uxMf0mznfBAUWPLqPeXDXk5b1C4gHDRBSYKFGQvUbbtykAO45sXDrAkg3BPSL+s P3UjaIqHLuVZh2jBseerOb2ChRWsNTNbmMpzhNndGb3qwGwUf4GRN20vEV581WU/4TSQ wzvg/iyd2Hke7hix3n1M+hPv9TLWi3L5FWqyLElxOBMbVHZHkUvxZeqINro+XpSwtcR1 IJews11RPE9ZxhgPgbnre9Y8m8itLLOi2xqo8hmiNiKmul2UWtXDdnl3NVaSq2h2b4Vk ySrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr :dkim-signature; bh=t9+J8wGTi+E0+XxVAYWwswFoFQa4Q8ZnG7aAkmSiPow=; b=VQrb14mZdgCV/jJruNEORKnA/AAGaeLy1gWkyagV/YqhRRct+qiWvLX1UjeyN7I5Mw rUzHZPA3B7+Axsmwy3P2n8kksT5X0ubXAmNn9Ck3wNSqoSGOyLKLKIwrVsZ/bVq5hv0c tmRqE1m0vgozxgxh/SfX0aJuepQeQCWIf+TJXmkvoU4QKUG2QXaDF1VkaezrYiFlq22R tdI72XepUFgQyJbP40U4HvswTOwXPYJQhFqR9IyWvgQAMDbfrRdj4oz9q/ErVbyTrSsg HBm35ZwuUqfL27wyPV5DtmiPr+EzDM29ox6JrnMfv3Zkfmxu9SHkMZxkaHDZCQa4D++3 f8fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=PAuI6v0d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y15si3259536edv.297.2020.04.24.10.03.26; Fri, 24 Apr 2020 10:04:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=PAuI6v0d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727808AbgDXRBM (ORCPT + 99 others); Fri, 24 Apr 2020 13:01:12 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:27032 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726793AbgDXRBL (ORCPT ); Fri, 24 Apr 2020 13:01:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1587747671; x=1619283671; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=t9+J8wGTi+E0+XxVAYWwswFoFQa4Q8ZnG7aAkmSiPow=; b=PAuI6v0d4rCalSjgVf+bZ9W7ZThSfjBBFyeTaelMdED83T5OgBLxBG2D iOGl8frDQW5+ggAiM7M71wNnS6CRdoT0CUG2Kt9B4O6vjDD6+Sk7Cq+eu jcwFGn+ut283lD/zd20TTQmAOpByeAHuJV0XDJsZUjycFxWpT9ju/49P+ c=; IronPort-SDR: oorvYMgBGmedh6UJ7zhX+8aco2ksGnu0F3NsvaLsYtt58cj7MIMT192uvXNRsPnNwuqBMtWXn8 KhTDxT4aAj/w== X-IronPort-AV: E=Sophos;i="5.73,311,1583193600"; d="scan'208";a="27169388" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1a-e34f1ddc.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 24 Apr 2020 17:00:56 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1a-e34f1ddc.us-east-1.amazon.com (Postfix) with ESMTPS id 14427A2258; Fri, 24 Apr 2020 17:00:53 +0000 (UTC) Received: from EX13D16EUB003.ant.amazon.com (10.43.166.99) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 24 Apr 2020 17:00:53 +0000 Received: from 38f9d34ed3b1.ant.amazon.com (10.43.161.203) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 24 Apr 2020 17:00:47 +0000 Subject: Re: [PATCH v1 14/15] nitro_enclaves: Add Makefile for the Nitro Enclaves driver To: kbuild test robot , CC: , Anthony Liguori , "Benjamin Herrenschmidt" , Colm MacCarthaigh , Bjoern Doebel , David Woodhouse , "Frank van der Linden" , Alexander Graf , "Martin Pohlack" , Matt Wilson References: <20200421184150.68011-15-andraprs@amazon.com> <202004231636.SiZkUyP0%lkp@intel.com> From: "Paraschiv, Andra-Irina" Message-ID: <4100fd51-8b71-cae0-2037-633eb77f8b6a@amazon.com> Date: Fri, 24 Apr 2020 20:00:37 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <202004231636.SiZkUyP0%lkp@intel.com> Content-Language: en-US X-Originating-IP: [10.43.161.203] X-ClientProxiedBy: EX13D16UWB003.ant.amazon.com (10.43.161.194) To EX13D16EUB003.ant.amazon.com (10.43.166.99) Content-Type: text/plain; charset="windows-1252"; format="flowed" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/04/2020 11:12, kbuild test robot wrote: > > Hi Andra, > > Thank you for the patch! Yet something to improve: From what I see, this was triggered by using the uapi KVM header, which = includesasm/kvm.hand this is not present for parisc arch. Andra > > [auto build test ERROR on linus/master] > [also build test ERROR on linux/master v5.7-rc2 next-20200422] > [if your patch is applied to the wrong git tree, please drop us a note to= help > improve the system. BTW, we also suggest to use '--base' option to specif= y the > base tree in git format-patch, please see https://stackoverflow.com/a/374= 06982] > > url: https://github.com/0day-ci/linux/commits/Andra-Paraschiv/Add-supp= ort-for-Nitro-Enclaves/20200423-130814 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t 18bf34080c4c3beb6699181986cc97dd712498fe > config: parisc-allmodconfig (attached as .config) > compiler: hppa-linux-gcc (GCC) 9.3.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sb= in/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day GCC_VERSION=3D9.3.0 make.cros= s ARCH=3Dparisc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kbuild test robot > > All errors (new ones prefixed by >>): > > In file included from include/uapi/linux/nitro_enclaves.h:21, > from include/linux/nitro_enclaves.h:21, > from drivers/virt/amazon/nitro_enclaves/ne_pci_dev.c= :26: >>> include/uapi/linux/kvm.h:14:10: fatal error: asm/kvm.h: No such file or= directory > 14 | #include > | ^~~~~~~~~~~ > compilation terminated. > > vim +14 include/uapi/linux/kvm.h > > 6aa8b732ca01c3 include/linux/kvm.h Avi Kivity 2006-12-10 4 > 6aa8b732ca01c3 include/linux/kvm.h Avi Kivity 2006-12-10 5 = /* > 6aa8b732ca01c3 include/linux/kvm.h Avi Kivity 2006-12-10 6 = * Userspace interface for /dev/kvm - kernel based virtual machine > 6aa8b732ca01c3 include/linux/kvm.h Avi Kivity 2006-12-10 7 = * > dea8caee7b6971 include/linux/kvm.h Rusty Russell 2007-07-17 8 = * Note: you must update KVM_API_VERSION if you change this interface. > 6aa8b732ca01c3 include/linux/kvm.h Avi Kivity 2006-12-10 9 = */ > 6aa8b732ca01c3 include/linux/kvm.h Avi Kivity 2006-12-10 10 > 00bfddaf7f68a6 include/linux/kvm.h Jaswinder Singh Rajput 2009-01-15 11 = #include > 97646202bc3f19 include/linux/kvm.h Christian Borntraeger 2008-03-12 12 = #include > 6aa8b732ca01c3 include/linux/kvm.h Avi Kivity 2006-12-10 13 = #include > f6a40e3bdf5fe0 include/linux/kvm.h Jerone Young 2007-11-19 @14 = #include > 6aa8b732ca01c3 include/linux/kvm.h Avi Kivity 2006-12-10 15 > > :::::: The code at line 14 was first introduced by commit > :::::: f6a40e3bdf5fe0a7d7d7f2dbc5b10158fbdad968 KVM: Portability: Move kv= m_memory_alias to asm/kvm.h > > :::::: TO: Jerone Young > :::::: CC: Avi Kivity > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Amazon Development Center (Romania) S.R.L. registered office: 27A Sf. Lazar= Street, UBC5, floor 2, Iasi, Iasi County, 700045, Romania. Registered in R= omania. Registration number J22/2621/2005.