Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1346599rwr; Fri, 5 May 2023 12:39:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5wJKpTqB7fhtA7gxnevTwwP80DT9Gl7TCXlEG8C7TbqH1CRy8NrnVeGdkAoCjy15OeYDj5 X-Received: by 2002:a17:90b:390c:b0:24f:52ec:da17 with SMTP id ob12-20020a17090b390c00b0024f52ecda17mr2510224pjb.35.1683315553796; Fri, 05 May 2023 12:39:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683315553; cv=pass; d=google.com; s=arc-20160816; b=F1dVai6q3ltfbquCIZIcb1juauVob5Sfmnx7oWUbXccwK+8WMFxEdUzbT6hQgO2ZcR UeN8yVefIyqEZ9Lch5S50vus2txMJZcnRWATXPaSNL6gndyoHoTOxssX6RMq0l/c3s1o WtFl5drAxGOkl4ittmcii1YqTZN6rCY4bkU9vnBzi47VIErZ4XL3U6xKzhZgPHErzEct b268SSIKhuKPhjz638XO1ZGm0u2AHXs5qyMknAW+AZwUNee6+ld378Jyq89akGBmu+kN RQ2YcpQSSrfexWTFsXrYjSWNR4YKciGvDY2aXVc2BW9IztOGlHfh8S2XDqMwrbb6oXry KjlQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GCSl5Wo1lKziz2hPlN4uAHuv9IIghfAI0uBO6RgFY9A=; b=mIQVVXbMoG3/NFzrrSUuibcb8i2uQU4JRbU7H0bhii4r6wCp0isL9R5gRnfafl+lRd Gok3y+0xRWG4ukajYqRaXKD0Oc9mmbmg+L6y7841WUus1jwfvPf8wJYuRjThNahyewlD TWWwANVM658h232Fbbj5UpGRvKCt8hVkOLNU+sQroTLkz+84pox152oO0UP/chY6ECL4 XquhYEg1380ivWCs49NySB1vGKPHmYKfnEBJrAXwn4tWo2EpigEiJYhUe6zzh0cJ8XyM tuwHKIDqB2LolVFhuy5gdI5VoQH2ZYAfrvQfpvvfJPZfnjF6nCMCXVbG1/S68IAZ/cpG QgWg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="b4/DHHDf"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d12-20020a63734c000000b00524cbd19d01si2565978pgn.679.2023.05.05.12.38.59; Fri, 05 May 2023 12:39:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="b4/DHHDf"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233407AbjEETWl (ORCPT + 99 others); Fri, 5 May 2023 15:22:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231730AbjEETWk (ORCPT ); Fri, 5 May 2023 15:22:40 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2048.outbound.protection.outlook.com [40.107.93.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BC6140FE; Fri, 5 May 2023 12:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YKwrBp/3OW1qbAeRPPBD9rVPDb6yduJ6UoksHfXolhjG7ZGo28JwgoNqRQkU9ytscbcdqyozQW/t72HXBGVL4nPYQe01xqVRw48CRVSziBvrsJBnSZQwKX+7DeAWrVyEv55Xk2pAxfyU3dZcWvPtbNEiHVXJN3cTG+WX4iAJSJ+o9nE2PsxxxGUfrITHJN8bDyWse3C5Rnqwx+LpCscZlGETkCFqV33KcBVL6zqEXz3OcUKnCDBhRtU972U5kKpKPZWsNtL6cavajiVu8azQHW4jShkqqIqKJBtN+Ah3jXgwpTM5ORbUNJ2ZiYjpNqXL/JLfkYj2xZKiZka8SImvsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GCSl5Wo1lKziz2hPlN4uAHuv9IIghfAI0uBO6RgFY9A=; b=QluPLqF6E3aU1k+XrOHfcILD+wsiBdDp7obCgiH6zCDfyY2LLTAEfhBJo+IbOqHKUf/Tz+Ly0vsVbjF/DSHgqHP2YKSjXQcdWym3fwLlWvjF45raEOoat20V8UX+IGNY2vPuGeMoDqD4K9NTBVep9DnTKQQXoWS16/zRZ+5rYNk+bidcqSYPXp0QSL/IzmcDIVsavBIkwaP+24d0vf8TpHUbws8ADB1dLNvaZadCr2bBWmp8Xj6Ylb85sgtdFEUgWDrNHcCtTY7rxq1v+Q+bl+p7YfeAJghdtNw3l2SnkmROP9erFmaxynTE5KA6GBzGJC+rEF1IYaspDdsofVfE4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GCSl5Wo1lKziz2hPlN4uAHuv9IIghfAI0uBO6RgFY9A=; b=b4/DHHDfuGPnEUo8oOC1WZ/ZLapYH4yhU/RgcfZHE1WpYEqUONvp6hS80SPvT7v4n57xmljL66H2s4BMsmXUuIOJ+RPAx0gs1lwS0tmDly5HkVq5vCnGRMSXuz92tI0ONgguOMsmKwlXCSyY6hLVzKRpi1TKNVsAbKK2ocIYGAQu7l6zFyxVK00q1QfX/OsWPi2KS7rKmHAC9/AjyBXfMxZP/3tPd15iJtEUjUHmGYfN/1qZ7P4ZW9cLMMosYMpgAEbZTC9hiUENQpoI1BjKMInwpL+05Q/tFuvEIM3dsDsfc8j1R+l35Q2RewsVONHgO7qco1uoiiKVxM170EJYeg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) by BY5PR12MB4100.namprd12.prod.outlook.com (2603:10b6:a03:200::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 19:22:37 +0000 Received: from LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::f7a7:a561:87e9:5fab]) by LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::f7a7:a561:87e9:5fab%6]) with mapi id 15.20.6363.027; Fri, 5 May 2023 19:22:36 +0000 Date: Fri, 5 May 2023 16:22:34 -0300 From: Jason Gunthorpe To: Robin Murphy Cc: joro@8bytes.org, will@kernel.org, catalin.marinas@arm.com, jean-philippe@linaro.org, inki.dae@samsung.com, sw0312.kim@samsung.com, kyungmin.park@samsung.com, tglx@linutronix.de, maz@kernel.org, alex.williamson@redhat.com, cohuck@redhat.com, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH 1/3] iommu/dma: Clean up Kconfig Message-ID: References: <2e33c8bc2b1bb478157b7964bfed976cb7466139.1660668998.git.robin.murphy@arm.com> <8eab6d63-1fa1-704f-279b-83b2df7fa808@arm.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8eab6d63-1fa1-704f-279b-83b2df7fa808@arm.com> X-ClientProxiedBy: MN2PR14CA0004.namprd14.prod.outlook.com (2603:10b6:208:23e::9) To LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR12MB5869:EE_|BY5PR12MB4100:EE_ X-MS-Office365-Filtering-Correlation-Id: ee2eaef7-31db-4b6b-8062-08db4d9e153c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ddxmPo52/bTZDX5bNihtVvpfxW4boY13ULd3zOgkxvvP/xSXNviogN/Kyd8v021GaGtYYHEq6pKlPpwwrZiCp818mc26m3d35iYmc6bivjrPTpdkHa86fKnd1iWOyYMOOmIPYLly0KlEeoLG0xkp0Bzj1NmC8G6ElGFa0AuXZSvM02WA/jzwy3z0bMtd0Dj/8WrylqAIZ8WAwMMm4DKehLX/ENZUq5xo7aMGYlPN1FMNnk+rm8etCw3f97x6pzmtGc9/hcK+lrO0ttKjNMvMigdC01sS+Nesx2K5/nE8f8ZE16pAcvCnbnHCjNYih3KB4mfxPpNn/9tu52rYa85sWr678Ghmu4ffXSxDWv/ififTHOThKPRunx8zDttAFoVKFofRzLkLXJWkaMNtuY+iSKc5grfhbWlUXMVOx0g82RcwqBUzAYbbmfSlB5J/0+s4fakwjcINauhJBnFGW9rN240AO/ZWcfT3QKhdaiKk+QthNu/Qaz+tMJ7GlR4oGWLQzrYqVlGY0mFyVBuhCTtYrj/N9B/2Pu6ga3Ty4WissCDADHfIbuL3TS5H+FZWV3b/ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV2PR12MB5869.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(376002)(136003)(346002)(396003)(366004)(451199021)(6506007)(26005)(8676002)(6512007)(2616005)(7416002)(8936002)(6916009)(66556008)(5660300002)(66946007)(66476007)(316002)(4326008)(6486002)(186003)(478600001)(41300700001)(38100700002)(36756003)(86362001)(2906002)(4744005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?RDajSX71FUNj+++9Zsl0ZCtgloS6JWospXwheVUVydRspRoM7ydUuukZFWD5?= =?us-ascii?Q?0+Vfg4yVIBxsvO2e7G9kKs7IoVINH+FGifXeGHGOKZXyrgB357ubxkjk4cLI?= =?us-ascii?Q?fyU6RHpqHRqRbwl/UgWC+fPQhkxDkAf5bveEed3O6ozDoOvkvAQgcgydehK0?= =?us-ascii?Q?BJuTMSXRCx6z3sRgj8A1vZHoX8yBIIPgdf8ppjG6n0iInRn19ViFSfEJjd17?= =?us-ascii?Q?YEAAaQj6vZO7qOq16XnpZ6Y1rXjd4tclXEyIuAPoBobCY8KiLFeUhnDZbDOx?= =?us-ascii?Q?9UTo9gftyxosowlpupdrUpuQDPmyRpGPGYGJGYrJ2Uko3QSjyRuPhJJY/CHe?= =?us-ascii?Q?h0UtlCP/5lhF/vapzZB2SUs26hqiS2jBUWEv/Rlu17yMj5ZPkL0k0WFwKkWQ?= =?us-ascii?Q?Wzag4G9zuKXEtALEHFhWe1WFJzfdD1A4NRQQRH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3zd2LLdIpzRgKIBjwYsPLPPVuw125wbSDjejZtx4jOnnyCRodWeQdL?= =?us-ascii?Q?6ymbtgUyra69Fj1IoSYNkb6WfNC6PfDCYtnoJjcxTATEaEAim0n8CUfRfYbF?= =?us-ascii?Q?QHdiVvZ5YIZq5YTddP6SX6+lS17uJgrtyH22uF2BHSwLjtSu64KbdaqyPv0G?= =?us-ascii?Q?xHf2M7+HtoduikL3Ctyp0b8IO1FNuBv3qFj5OVPJcGieCkYQBb3pd+yvqh0a?= =?us-ascii?Q?1Axr33SNPqTrEwN7vng=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: ee2eaef7-31db-4b6b-8062-08db4d9e153c X-MS-Exchange-CrossTenant-AuthSource: LV2PR12MB5869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 19:22:36.1106 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lBKHYcuG+MjYnz/QUHJnUbb20X+Lk4mBFmRvE8LKJjo/WaT8XyVhQuA6UmxiddFc X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4100 X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 05, 2023 at 03:53:54PM +0100, Robin Murphy wrote: > > > diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig > > > index 5c5cb5bee8b6..1d99c2d984fb 100644 > > > --- a/drivers/iommu/Kconfig > > > +++ b/drivers/iommu/Kconfig > > > @@ -137,7 +137,7 @@ config OF_IOMMU > > > # IOMMU-agnostic DMA-mapping layer > > > config IOMMU_DMA > > > - bool > > > + def_bool ARM64 || IA64 || X86 > > > > Robin, do you remember why you added IA64 here? What is the Itanimum > > IOMMU driver? > > config INTEL_IOMMU > bool "Support for Intel IOMMU using DMA Remapping Devices" > depends on PCI_MSI && ACPI && (X86 || IA64) > > Yes, really :) Wowo, thanks! Jason