Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp243695pxu; Tue, 13 Oct 2020 23:21:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzToqOgla9PWO9eKAfOrA7yoV7W0/sH7hyfUlyqxds/0scToSeXdZ19dZebeazMhIJQThP8 X-Received: by 2002:a05:6402:21fd:: with SMTP id ce29mr3420007edb.383.1602656518182; Tue, 13 Oct 2020 23:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602656518; cv=none; d=google.com; s=arc-20160816; b=r3n2RTLIdDJ4MHZF6zcjqMIjaJVmVHLpmcCGdVvJeZnUPIpJiJUYl6YG8gZ/ZSeZqw VV0mU5rDAwWR2ZESy0wHM7tlg/P9NuwZSlEV9J4SUzaOk6VkhAbylpf0qD91gSnOV93k nCMjGo94YLy+3smp+YPKlFqAUvhU04sHqDgNbVVscaAM/0rAt0pDCJ2ODD857+FyVZdT A898V/OtuVhOuNRtnh7s67DTyqQlv2jmzFRLhtt5DOpaTXQwPWXTijLhSuYetG5b2hzU tbYN84O+WTNV0o4msJJdxDkSTG4b+XjRulpCtxUbTrV9yuOmg6KIENb2DJeidgE3kINl 36wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=8nvgtXTquS8dzOFxzvVIFZBcvvmF0cQfNkdQi9WaUQQ=; b=aL9IAB8ks895c356tccSXk9kZrvhsDce27UrmpISPT0ab+JvXmig9wrw6PUvaEwIBX dyzFWjIe/f+OhyGldeGxY1uh9bj7ypK24UWmCYWDzU+mLN+TklX4Sjc2qCSY34ZfUCYE aPRpjy/5uHg8N+WSXU4r3hPByYBdPAIIm/E6kMoBSA99r+PPe/vCitLf30qYAsNTvvOp c+2ljfgh6pkMU7bNDVY6Jpro4lxgT+HVzOtuuISdlN+Fh2kf1w1klImkKLZb88SYPkvw XcqrnjGupWcfpMJJmGDqYGfn5xCuBGrNAGxLE5PNPKIjuF8SlBuc+ZQGJLrBqFJ+b8tE PhbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DhBQpt09; 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 g18si1437919ejr.152.2020.10.13.23.21.36; Tue, 13 Oct 2020 23:21:58 -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=DhBQpt09; 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 S1732453AbgJMTVJ (ORCPT + 99 others); Tue, 13 Oct 2020 15:21:09 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:24312 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbgJMTVJ (ORCPT ); Tue, 13 Oct 2020 15:21:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602616868; 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=8nvgtXTquS8dzOFxzvVIFZBcvvmF0cQfNkdQi9WaUQQ=; b=DhBQpt094R8uljMeI2RsWQ98mkvWm8qI55NTd9kEq3yqvNAqYy7vbbxzj7Wf0V4lGquQTn wy4X+biaB+65sxLlQQqCqbqyBgOE6PbUYRDps7IphfxQtavsWJMcNRKRqDQVSUmvEOrsxN is7eaT/h8oJ3AevMuAhbrh5WmltH8SA= 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-75-zsrMlvLSP-e-lM1eucPdmg-1; Tue, 13 Oct 2020 15:21:04 -0400 X-MC-Unique: zsrMlvLSP-e-lM1eucPdmg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 12F01802B7C; Tue, 13 Oct 2020 19:21:03 +0000 (UTC) Received: from w520.home (ovpn-113-35.phx2.redhat.com [10.3.113.35]) by smtp.corp.redhat.com (Postfix) with ESMTP id B486127C21; Tue, 13 Oct 2020 19:21:02 +0000 (UTC) Date: Tue, 13 Oct 2020 13:21:02 -0600 From: Alex Williamson To: Diana Craciun Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, laurentiu.tudor@nxp.com Subject: Re: [PATCH v2] vfio/fsl-mc: Fixed vfio-fsl-mc driver compilation on 32 bit Message-ID: <20201013132102.57e431ba@w520.home> In-Reply-To: <20201013150651.12808-1-diana.craciun@oss.nxp.com> References: <20201013150651.12808-1-diana.craciun@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Oct 2020 18:06:51 +0300 Diana Craciun wrote: > The FSL_MC_BUS on which the VFIO-FSL-MC driver is dependent on > can be compiled on other architectures as well (not only ARM64) > including 32 bit architectures. > Include linux/io-64-nonatomic-hi-lo.h to make writeq/readq used > in the driver available on 32bit platforms. > > Signed-off-by: Diana Craciun > --- > v1 --> v2 > - Added prefix to patch description > > drivers/vfio/fsl-mc/vfio_fsl_mc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc.c b/drivers/vfio/fsl-mc/vfio_fsl_mc.c > index d009f873578c..80fc7f4ed343 100644 > --- a/drivers/vfio/fsl-mc/vfio_fsl_mc.c > +++ b/drivers/vfio/fsl-mc/vfio_fsl_mc.c > @@ -13,6 +13,7 @@ > #include > #include > #include > +#include > > #include "vfio_fsl_mc_private.h" > Thanks, applied and pushed to next. Hopefully it's either this or the merge ordering biting us with linux-next. Thanks, Alex