Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2921789ybd; Mon, 24 Jun 2019 15:26:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZpVs01yEhw2043dKIDBPThxQj4o0vXGlQVqfOig5MwPhHRxQzQZ8Tt54TrKMDEht7KKQR X-Received: by 2002:a17:90a:7146:: with SMTP id g6mr27358179pjs.45.1561415189038; Mon, 24 Jun 2019 15:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561415189; cv=none; d=google.com; s=arc-20160816; b=VUkl+ld8+4ucPpJchtbq1Y2hhuJnCGVF363y3ER2WfUeP1pkG1e+3twMKiiJxvkW7v ihziPIaP0ANqqFwItxZxiDqmtGlicrWtI2pA28DNGgZiIyZZh+ois+0ixgVnbt8lhBnJ gG7MLZa9TSxLvE5aWI0LzmoBw/mWteyWbaLSSwmv36Wnn05Bgaa1hw3LdpwQnBqTCFmq GW93XZ2jyK9NeiQnOVQRlXGfwL+VzAwQJRsx5BoV1ykxgpGzMIkBdWKJri3fhJPDKclY LtP4YS5qA+VN+mfN5eism6aEEMreFmrM/OtNHSLiohufQHkftypKXbHUJNMPyvQm/r0d hcbw== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=R6VrYFP3D3nYLovPAUpvcBorDPA0ohH3v3ybTRRLF5k=; b=y22p+Nk8hFWFKRVbpXEZ5Dm8iEhoxvFYhuWYE8aBMm9otmEgeS2/2C2+j7Cukn+Dwz i+KVVKDFx8Ij3lSOeG+Og/onleLakyNwwElR8uT6KYz0nliWRxQ0esKZbjUbMgqHVR6N RHkWHyV/PGwjikCA5yzAOH/G2A0gypc/2cwrB73lcvb2Rx6uEPJYDVjhwqHzPS3ycpfA sryWRa0ABf0MF4huF3W2yyzUpGSdpmywWU1ZqyYWEDgv3VBRwH7KW4k4/GiOf4gkJCzW 3L2FZyNyUqXVfmC+7c6iPi3tuc2vD522is2rnwIkA9s6gz3nq7Iqny8gEqe/dOKRH3aM Ndpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f17si693211pjq.14.2019.06.24.15.26.13; Mon, 24 Jun 2019 15:26:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726532AbfFXWZQ (ORCPT + 99 others); Mon, 24 Jun 2019 18:25:16 -0400 Received: from mga03.intel.com ([134.134.136.65]:30736 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726407AbfFXWZQ (ORCPT ); Mon, 24 Jun 2019 18:25:16 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jun 2019 15:25:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,413,1557212400"; d="scan'208";a="359696051" Received: from jacob-builder.jf.intel.com (HELO jacob-builder) ([10.7.199.155]) by fmsmga005.fm.intel.com with ESMTP; 24 Jun 2019 15:25:15 -0700 Date: Mon, 24 Jun 2019 15:28:30 -0700 From: Jacob Pan To: Jonathan Cameron Cc: , LKML , Joerg Roedel , David Woodhouse , "Eric Auger" , Alex Williamson , Jean-Philippe Brucker , "Tian, Kevin" , Raj Ashok , Andriy Shevchenko , jacob.jun.pan@linux.intel.com Subject: Re: [PATCH v4 10/22] iommu: Fix compile error without IOMMU_API Message-ID: <20190624152830.20bace1d@jacob-builder> In-Reply-To: <20190618151031.00004bbd@huawei.com> References: <1560087862-57608-1-git-send-email-jacob.jun.pan@linux.intel.com> <1560087862-57608-11-git-send-email-jacob.jun.pan@linux.intel.com> <20190618151031.00004bbd@huawei.com> Organization: OTC X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Jun 2019 15:10:31 +0100 Jonathan Cameron wrote: > On Sun, 9 Jun 2019 06:44:10 -0700 > Jacob Pan wrote: > > > struct page_response_msg needs to be defined outside > > CONFIG_IOMMU_API. > > What was the error? > struct page_response_msg can be undefined if under CONFIG_IOMMU_API. This was resolved after Jean move it to uapi. Sorry, I could have made it more clear, not a fix for mainline kernel bug just a patch for previous patch in Jean's API tree. > If this is a fix for an earlier patch in this series role it in there > (or put it before it). If more general we should add a fixes tag. > > Jonathan > [...] > > [Jacob Pan]