Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp217238pxf; Thu, 11 Mar 2021 02:04:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJz581j6JQjaoa4ClvtWMgdIWId6j27pfGUvxs7Kqe6snLvW7jxNjyiTOTmebc4S2Y+cO/Dz X-Received: by 2002:a17:906:39a:: with SMTP id b26mr2367434eja.158.1615457066207; Thu, 11 Mar 2021 02:04:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615457066; cv=none; d=google.com; s=arc-20160816; b=QUZbMv03NvJqBAWfVw+4d9KRoyxlTnmaMEceZjDWZ22eynj4tzMt20XUa0/wveC++G vFPDYwnhCY2nNqqVtJv5dU6AQG3dF2w95sAGOQGohjHLCPqye9yGlNP2c12dgEXOu4RR DrrhVnw5Gli7QWQaX0Mt9P2gFm/jEVLJ0eMpeIZ7zzNM31rQrS0FhR0d8UkUX2I93mEU 84grrxlVMB3cIh0f7ejrEotwUoU5wj/fE1CbWNsoAy56dB3MnVEA/ROcWvP5h4Mj+wRL iZNdoXhurOKtKQTFQ2pKb+fE/8ipVI+dMMbRcH0+SEnRP8SugLfuRG1o6bFIgTjMIRay 3+fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=TIC9/Gfhx7NGGZ3yoNyHRNtQyBK4UCW3WFT1CQYfK7Y=; b=c75xsFDv7LO8Uwybg+pkI4c2+CM8J+f6h/+LZzbYXVHXgkHCO6MBUF9oyuVYIg9scG zuQhG7oTqKGW5Lj2FY0nuPESox8mUIBIZi6DYI0wEneixA3RiMRHH3Tdy/GELkWY3qEP fJTYnTiSDv8/pUGPfNpZpkSADP5SK4xIg0ym40rWcHRNkbRHuTF2NJWSI+/TYSFiNxKP mdjx/b6i5NiLHOu7lB0IA1BCgmnTPNnkUube/43T5KTmroqLPHVizLlDuPUg88Agpbvi w609plK/SEh3gpf1rAjQ4txk2Dtgz2AjB0S/uGPsuZ47FgdCj7S1MDkjNMctbyVFmf6T tRdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hhek4bkZ; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q28si1495154edc.389.2021.03.11.02.04.03; Thu, 11 Mar 2021 02:04:26 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=hhek4bkZ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232050AbhCKKDG (ORCPT + 99 others); Thu, 11 Mar 2021 05:03:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:57478 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231639AbhCKKDC (ORCPT ); Thu, 11 Mar 2021 05:03:02 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 10C6E64E57 for ; Thu, 11 Mar 2021 10:03:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615456982; bh=IZhUOXZQW97SEt7AhdlCVGpiMiD01alkMKMxSkgoqA4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=hhek4bkZm18w24Okb8oRsTjg5ku5rDQgBkrVhj2p+trM4twZ9ySmIxuMmhbdD07dM KSbVuS7Ng+FRzsd0WwIc/nPAZBcZoysXO3BuhR5D2IfYEa9HR4fn+CYiljdIzBnfdx /4PdKrScmDZRhZHrJrsGiMj7WhQE/PHdYz2ii41HlKQJMyneMtKwf1HvL9rKWTetOK djQuxxxmJgmT8/ojlZPnhTVBrhuf2YsNbiAMP5ZepBqDLFJWOlXDzFdIOT/dX/QjL4 qSSdJwUhwNgjRNwcz7OHrn1rRQTJG7+mnaDnfRWyFo7x216lrwoIpcGBa0VxmTpX7a 8PkPlb829MINQ== Received: by mail-oi1-f169.google.com with SMTP id x135so18050426oia.9 for ; Thu, 11 Mar 2021 02:03:02 -0800 (PST) X-Gm-Message-State: AOAM532JyhktilHL0H5RfmCMboUw3TFbCm8EA6+PAsz6UST3Xk9+6NLm bOCOM7vdhb53aZguzgBbb0XHyGRADaU4LvgppU4= X-Received: by 2002:aca:1218:: with SMTP id 24mr61853ois.11.1615456981295; Thu, 11 Mar 2021 02:03:01 -0800 (PST) MIME-Version: 1.0 References: <4c692eff-9d57-278e-8da4-36bc2c293506@amd.com> <20210309032356.20800-1-Felix.Kuehling@amd.com> <8023bb6b-b6aa-230c-afa5-871ce32782c6@amd.com> <7831d401-d1ec-13bb-0b3f-b0e0a1a63f7c@amd.com> In-Reply-To: <7831d401-d1ec-13bb-0b3f-b0e0a1a63f7c@amd.com> From: Arnd Bergmann Date: Thu, 11 Mar 2021 11:02:44 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/1] drm/amdkfd: fix build error with AMD_IOMMU_V2=m To: =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: Alex Deucher , Jean-Philippe Brucker , Felix Kuehling , David Airlie , "linux-kernel@vger.kernel.org" , dri-devel , "open list:IOMMU DRIVERS" , amd-gfx list , "Suthikulpanit, Suravee" , Alex Deucher , Will Deacon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 9, 2021 at 7:34 PM Christian K=C3=B6nig wrote: > Am 09.03.21 um 18:59 schrieb Alex Deucher: > > There has been quite some effort for this already for generic PASID > interface etc.. But it looks like that effort is stalled by now. > > Anyway at least I'm perfectly fine to have the IOMMUv2 || !IOMMUv2 > dependency on the core amdgpu driver for x86. > > That should solve the build problem at hand quite nicely. Right, that sounds better than the IS_REACHABLE() hack, and would fix the immediate build regression until the driver is changed to use the prope= r IOMMU interfaces. Arnd