Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp18381767ybl; Fri, 3 Jan 2020 00:59:12 -0800 (PST) X-Google-Smtp-Source: APXvYqyDBU3LuwJFjMDV4CfkYT+vyjVbpYpQhLpPWuwaQfjjfNsohxFikyLodUfpjn63uByWCYAd X-Received: by 2002:a9d:7e8a:: with SMTP id m10mr92872125otp.27.1578041952393; Fri, 03 Jan 2020 00:59:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578041952; cv=none; d=google.com; s=arc-20160816; b=udQRkN5bS/IypJZHHTZaTB/CZRU3nSPQMuPOqRelrdiXA6/+DlMU84zovzrWiNTZHR k6Jsv4GXyQRkreM/1+0ud0yV42XUoLn+bzLfoJ6COJ/jssNNLbxwCOD+d/VodZAy1XoK O4RpzgJVxhSdjizrEwYAmmHmgCKyVVx2NnotFqkGTJxdpPcDFVhca9XzpY2DMNxWA5n7 azVcm2bkkHw+WsCNecgKsu8FiWM3KIK67Ql5qVA9C3O3AqeHI+VtUBtCrc/HIycHdZw+ y4vnrOXlJRmLM56UsRNWh/o7jHREkL91WI4TaSy7pp+3bA7GXMx8H732ZsQe0BZqHjM4 lLrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=r6qIuR+7bvXSiJDqaws/93bA9gUxPMySdOOHdmUI+9c=; b=ekSyG6lvdeirj+Lq7UFpZc2k6mmgFWFFVFbNSIdlJwGNaIikXBJGqLjitQrmf6ouPc WaBUGdjpy+Q2Mg81cH1KD0BVz3KWwAAwhaLFOK2MVI9HW5oOv7bJE6wbrmgNuhT2IonO itG9s2vmZBmpM7gwzttsixNLNpeUFoeP1o6bY4fI+8+6zK8/8SJb02VxCOOtmxTwIYWI p7RGE50uYry4hg2vqeLgi2DAbnmp42eavF4AY3AeMAAoAnNwWrGwSrrZQoqnH6s9gvWz rYoIu82WFBAku1LF+fzYRZB1GUsKvNmUH/ZH/lI7LfkU9YbEEoHmnB9FfsU7nMOBnvYD VJ9g== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si29546558otf.141.2020.01.03.00.59.00; Fri, 03 Jan 2020 00:59:12 -0800 (PST) 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727465AbgACI5r (ORCPT + 99 others); Fri, 3 Jan 2020 03:57:47 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:38676 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbgACI5r (ORCPT ); Fri, 3 Jan 2020 03:57:47 -0500 Received: by mail-ed1-f65.google.com with SMTP id i16so41132722edr.5 for ; Fri, 03 Jan 2020 00:57:46 -0800 (PST) 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:in-reply-to; bh=r6qIuR+7bvXSiJDqaws/93bA9gUxPMySdOOHdmUI+9c=; b=Uas7W9I4m4qeQIjEB5GONGAgf/kMbyQ7cIpdqvYqrv5maqGulSwKmtGvffwl0KTQYf yWbVSP/dzfsBwAgENB02o1l+umXUq7RyNHv03rXv903jTUNE1j/eOFeerH52fsMjRUsm f29ttysfB+aG21Et3Ra/XMTbiOlibi8yMpadfkPkdvvmLQdDHZ2tcZoGXkZBajV8mO9x aOMOQPksdUMBkPRG8fwu+jrgTICYFEfa2oS93kLwJgdTUm5OQSgz73UgwX7da7QTSEke QtAUjI2HFO5SdPm5p+BUvkVI6si+o4Sq9+NQxrWKkrtzaEKiLnJhFXCzKwAbcpwwWmJ3 cnqA== X-Gm-Message-State: APjAAAWAncqo8ovmKYkmuf/EwsG/XdxFJMjQ7ho+3q5C/q66Y5qoKOvk uRVq0SKQQ86BdNT1FSJiA/U= X-Received: by 2002:a50:93a2:: with SMTP id o31mr92253605eda.160.1578041865550; Fri, 03 Jan 2020 00:57:45 -0800 (PST) Received: from pi3 ([194.230.155.149]) by smtp.googlemail.com with ESMTPSA id qc1sm5717229ejb.49.2020.01.03.00.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2020 00:57:44 -0800 (PST) Date: Fri, 3 Jan 2020 09:57:42 +0100 From: Krzysztof Kozlowski To: Suman Anna Cc: kbuild test robot , kbuild-all@lists.01.org, Joerg Roedel , Robin Murphy , Jean-Philippe Brucker , Eric Auger , Douglas Anderson , Tero Kristo , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] iommu: Enable compile testing for some of drivers Message-ID: <20200103081201.GA1439@pi3> References: <20191230172619.17814-3-krzk@kernel.org> <201912311551.tBrb3BhH%lkp@intel.com> <20191231080722.GA6804@pi3> <923b1f2f-2b5c-8b6e-6083-243beae09777@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <923b1f2f-2b5c-8b6e-6083-243beae09777@ti.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 02, 2020 at 04:40:16PM -0600, Suman Anna wrote: > Hi Krzysztof, > > On 12/31/19 2:07 AM, Krzysztof Kozlowski wrote: > > On Tue, Dec 31, 2019 at 03:43:39PM +0800, kbuild test robot wrote: > >> Hi Krzysztof, > >> > >> I love your patch! Perhaps something to improve: > >> > >> [auto build test WARNING on iommu/next] > >> [also build test WARNING on v5.5-rc4] > >> [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 specify the > >> base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > >> > >> url: https://github.com/0day-ci/linux/commits/Krzysztof-Kozlowski/iommu-omap-Fix-pointer-cast-Wpointer-to-int-cast-warnings-on-64-bit/20191231-022212 > >> base: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next > >> config: ia64-allmodconfig (attached as .config) > >> compiler: ia64-linux-gcc (GCC) 7.5.0 > >> reproduce: > >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > >> chmod +x ~/bin/make.cross > >> # save the attached .config to linux build tree > >> GCC_VERSION=7.5.0 make.cross ARCH=ia64 > >> > >> If you fix the issue, kindly add following tag > >> Reported-by: kbuild test robot > > > > I saw it already while compile testing my patch. I must admit that I > > could not find easy/fast fix for it. Probably the > > omap_iommu_translate() helper should be made 64-bit friendly but this > > obfuscates the code. > > >The driver and hardware supports only 32-bit addresses. > > Yeah, is there a reason why you are trying to enable the build for the > OMAP IOMMU driver on 64-bit platforms or other architectures - the IP > and driver is only ever used on ARMv7 platforms, and it should already > be available for COMPILE_TEST on those. It's the same reason we enable compile testing on all other drivers which will never be used outside original platforms. There are many of such examples because we want to increase the build coverage to as many different configurations as possible. There could be also another benefit - easier code reusability - although it is purely theoretical in this case, I think. Best regards, Krzysztof