Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4726105pxv; Tue, 6 Jul 2021 07:46:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxreULHztC6uiFia5XZIAlDpGyGh5CrtDSPjd6z1i4cSj6iJBKn57oVmdAJG0Qls9MBBhBF X-Received: by 2002:a05:6402:b4e:: with SMTP id bx14mr1447791edb.158.1625582776978; Tue, 06 Jul 2021 07:46:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625582776; cv=none; d=google.com; s=arc-20160816; b=XaJ81taJB3dTNECa6wWRXJkbyuC6QguDgaG6wUPU25LpKms20aR90l1dpic1BEVjSe IgExkyGfhGemACp1cgOJr7x9iQcdCe+WhfD9kDfTMs76T3dcggiXZ3NAF8cYzgj0ZN8z OBCMzu1z8YWyAPdvbO5ftQwf4Q/f7Q8eGhY5NT4LrWHmmGoRr5OP26le5T47aqUZKLH3 IAsxhNypi3Sw1hK/B6o06HNg6urPfTrOI/aD46XyZ+XUny830pg5yGIqreGPf3GMBGAV 9Km1bVDHpjbvw5OT8sCGpreK1Dp3t4EDMKMRJCL+AEQqaal/JZrwUmliahjBgZdmQjgX hlFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pxHexuMc60Pqv4E4hjuhvf1rTK57cAPn3g1/NdAGS2s=; b=VX+huxgKYFg43DZf7qRPONtY8nmly/yaXuR6tlIjFFxXY41Dt1u7gEOKJkAs9tYASi er1Fsz3PUNtKk0jexh5rl/Mt1fAoCb/gF7DKHcc3Dti1P8GTvsnwKeFB1TP1kmfvvqO5 bES/pfjR/hbpoYB1MWL+8uT4uONCy49BrBwCFV93QbhvwSOrVSXx1X1d5C8drmEJvcCD +AU/YRE3uCfHgy1yrm4uL8PcEVPXFjPPZDORWbYhhE9G1HncueJKFuGdnyI1FKZbAPk2 /gPMKdLRS8lhKQHhHdY+wtWs49Dv2z5D8OO04m9LLYFV/I/kqfsx8xZbs46qRsh+qtkK 6fkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="PtClT/d/"; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w11si18723088ede.594.2021.07.06.07.45.53; Tue, 06 Jul 2021 07:46:16 -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=@redhat.com header.s=mimecast20190719 header.b="PtClT/d/"; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232479AbhGFOrf (ORCPT + 99 others); Tue, 6 Jul 2021 10:47:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:56577 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232577AbhGFOrP (ORCPT ); Tue, 6 Jul 2021 10:47:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625582671; 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=pxHexuMc60Pqv4E4hjuhvf1rTK57cAPn3g1/NdAGS2s=; b=PtClT/d/gXCt6hf07mnt+s6JkRwtqYMKZpLye00uhblt+AktvVEm7TtoZl4WvXxTuWTDoz ncI4tEG/6unTGU00yQJ34hMll/d7PmN3wz285DfpMh00Gn5i6zEm/8ZIapXC8GNKI4bzI8 JADbsLzP/V6lkzR9wmM0GAJVO/s5arw= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-555-B5ye1H5bNCi20EZrSDfQ6w-1; Tue, 06 Jul 2021 10:44:30 -0400 X-MC-Unique: B5ye1H5bNCi20EZrSDfQ6w-1 Received: by mail-ed1-f72.google.com with SMTP id u13-20020aa7d88d0000b0290397eb800ae3so6936557edq.9 for ; Tue, 06 Jul 2021 07:44:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=pxHexuMc60Pqv4E4hjuhvf1rTK57cAPn3g1/NdAGS2s=; b=JJCEFLHYZLUuPLqjYh8FNkAs5CaSB+OIlLCBwBRoSu0PPAHxRVFASj3zbgBE9Qq7R7 bG9bGar40jFfYoRzwydjZ3K7mFCDxwLySIl/Z5ajyaK3jWyE90qP55w0BvAPyoYndmGl DnTxMsPlRQsCX7Il0Dlojyc7X3zLIlQ8IqkPA884RaGr0dwS7rxB0cDxO/AO4lxV75Xp FQ9GRKgV4lCd8kJtnxDzX74JeB5EVr+msS+RwtwoLbUhr4IvV2DzDe9wXCiQHkAbOQUH ni44odUVjOdnTsOY6kwOov9mC/57G0gU8qv3a4rRFxLtPSIeK+z2IF32zi3nmtkPQdZ8 XChQ== X-Gm-Message-State: AOAM5314EIsbB3x8FvT2KwvFCGJEfj97AtZzlJMWGJ8VjczoBjnQX0B2 sny5eUQEG5F+hdqcnaLuaD2NA6htJn3UQELKgugkdZ1XtdEOW+QJ0ZuCIh72mqt8LMrkmTxpwSs rIvrpP/htVcFUeBQHi7iyNs/x X-Received: by 2002:a05:6402:10c7:: with SMTP id p7mr6022427edu.159.1625582669381; Tue, 06 Jul 2021 07:44:29 -0700 (PDT) X-Received: by 2002:a05:6402:10c7:: with SMTP id p7mr6022391edu.159.1625582669033; Tue, 06 Jul 2021 07:44:29 -0700 (PDT) Received: from steredhat ([109.52.250.49]) by smtp.gmail.com with ESMTPSA id y17sm1189035ejd.16.2021.07.06.07.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 07:44:28 -0700 (PDT) Date: Tue, 6 Jul 2021 16:44:25 +0200 From: Stefano Garzarella To: Eugenio =?utf-8?B?UMOpcmV6?= Cc: mst@redhat.com, linux-kernel@vger.kernel.org, Matthew Wilcox , Jason Wang , Yunsheng Lin Subject: Re: [PATCH 2/2] vringh: Include spinlock.h Message-ID: <20210706144425.cp3yzdinmosqftjr@steredhat> References: <20210706142632.670483-1-eperezma@redhat.com> <20210706142632.670483-3-eperezma@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210706142632.670483-3-eperezma@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 06, 2021 at 04:26:32PM +0200, Eugenio P?rez wrote: >Commit f53d9910d009 ("vringh: add 'iotlb_lock' to synchronize iotlb >accesses") introduces this dependency, but does not include spinlock.h. >While kernel seems to compile as usual, tools/virtio cannot do the >same. > >Fixes: f53d9910d009 ("vringh: add 'iotlb_lock' to synchronize iotlb accesses") > >Signed-off-by: Eugenio P?rez >--- > include/linux/vringh.h | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/include/linux/vringh.h b/include/linux/vringh.h >index 84db7b8f912f..212892cf9822 100644 >--- a/include/linux/vringh.h >+++ b/include/linux/vringh.h >@@ -14,6 +14,7 @@ > #include > #include > #include >+#include > #if IS_REACHABLE(CONFIG_VHOST_IOTLB) > #include > #include >-- >2.27.0 > Ooops, thanks for fixing this! Reviewed-by: Stefano Garzarella