Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp72506rdg; Wed, 11 Oct 2023 21:51:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHrpmpu/+dYhv/cDk6q1yT2umHHYIqyGJRt34HvytLU0hHKbn0GdWlmVCreaYRh9IznsQGp X-Received: by 2002:a05:6870:2315:b0:1bb:6485:7988 with SMTP id w21-20020a056870231500b001bb64857988mr27998507oao.35.1697086307264; Wed, 11 Oct 2023 21:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697086307; cv=none; d=google.com; s=arc-20160816; b=SyviqeDIDHiauSLQUuBlXbO28s0FLJDH0IzYwmQNAGBEQTm02k7SrWVfOUQLvw3ze+ NIQWtE3UKJMROE2bJxJeR2U/FagSUI+qtiqcIx3f9sOoG6eYf7W1K/dlrZpeHri9AWnD r4Nnd/EELu0mLw1NYNJT/iS6krL74OC6E2etciid4QrOeeAHN0ABtiSZGiqy6Jm6GnKq 2zoRBBkq/iRqvGahAn8fHRLHZocynC4uiCWt0/U81EL83KXP4mqgOCXr4LyvtSqDMmR/ Lt1ioPqllAKgEOyvnzqieGiLAVKg2vQHY9ojJ1fObKnMleUgq0q7dWSltbAAEzZaZSxj pAdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=YSjZDUjjPOz4QqV7E0UZLHS9zrizXOtrbmGqfrqmqCI=; fh=K5Sa9sL1hLcdXoa+hRDdo1AP+uA4fDYioP5Bil0idcM=; b=sn6PBeGL4XJyUxkoXWYT7GV+s/TmktSzBicZZ9oTzvuvv05Epa0Lh8wqg7YXvn19PT we34n0VJWDF5zfDSH0tn1Xn53I7P7pDHC/VqmdSFIffy3To12QzvrOYh48v8JHp3G3C/ z0rfnAGKogQKu6vm7EodwuKU4QgDoJs30UC0qrIdRO+r3/PrhXXOj9edwFRyYAFtA/yd mGw3wKGnuasq5lelRB11pod1W31Gv6+Zdhf8dIWiaptJFc0RlvxXs1oZPuQd9MPyw9Jh l4l/x04qY9GWb4jTTtRL6YNax4ZUAQmZW7s20nBvVEY3CndTOUy3UKMzeDpiwfDHFTod lZ/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eJ1Pz6J7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n3-20020a6546c3000000b00563f72935e3si1317054pgr.608.2023.10.11.21.51.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 21:51:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eJ1Pz6J7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D1E0D80775A2; Wed, 11 Oct 2023 21:51:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347036AbjJLEvA (ORCPT + 99 others); Thu, 12 Oct 2023 00:51:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjJLEu6 (ORCPT ); Thu, 12 Oct 2023 00:50:58 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B28B790; Wed, 11 Oct 2023 21:50:56 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-9a645e54806so82143966b.0; Wed, 11 Oct 2023 21:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697086255; x=1697691055; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YSjZDUjjPOz4QqV7E0UZLHS9zrizXOtrbmGqfrqmqCI=; b=eJ1Pz6J7H8qQO31WvJYQSvt4ui401mMgjSEmgtcetAfPwDyXx/FVoQabxHRAkcPsT0 /AUbWuP3uQTD3cabFiyVNldNiPHfo7lSivmfD9pTpLfcmcfiCj5xC380XK4fZuUpZ6Uu zZBc3696Lg/BuQhNYWwFhmRUMawZ3b/g2oQwjVoyJv5iFsf/83PayyvS/RNn7CvP67CD qCJX5qSJko4KSTzPjEcuq7msYzI+tV3TzSqPbkwkyHba2mojpf+AYuLloOOiFrbCH8eM yMo2iXliZfN4kdjcENJoX/R0w7HPjDlhaJurznXui0scpmj6DC5khhvDzLLaPrc9SxyU PMTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697086255; x=1697691055; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YSjZDUjjPOz4QqV7E0UZLHS9zrizXOtrbmGqfrqmqCI=; b=cYF0wf7Ol+U/mFswR8jD53lrMFFzNTCt7bbQGy5iGc8WHaV6dSwy6C59vUANMbZrIr jJJYQJjq5ahUnnEyD1JZKbPL4m86YQYm53RONeVRbo5Q4Fbba5Kl1BxbccI2drL9ksHF K0Ia6CwLxofKe7FnVaoK9bI7B20P06OlsI85UMAcIebL4TelxBSkomwC6Pz9x6cSPO2v Rbim0k+YnYk8sAhEj425kjJkhX/SQmyUYBmtyCO4t9Xv7sX7twKssl86w5AV8e6eOomm WnImcEHYk+c1p4xoWXHtOXJ7KpIFso9/XHT6MoBu/YlK+3hvE6AkNB3puoi/HP68NV2r rtYg== X-Gm-Message-State: AOJu0YxPiPIAbu9iGZVClmMx2yVN0epkk3fen+rkFxKR7W4FE9aySCWX Ovlb/QxBg39h5EZDNpCA5RU= X-Received: by 2002:a17:906:2d2:b0:9ad:8ef8:a7e8 with SMTP id 18-20020a17090602d200b009ad8ef8a7e8mr20459122ejk.25.1697086254881; Wed, 11 Oct 2023 21:50:54 -0700 (PDT) Received: from felia.fritz.box ([2a02:810d:7e40:14b0:78dc:282:cf18:8032]) by smtp.gmail.com with ESMTPSA id w19-20020a170906481300b009b9720a85e5sm10573362ejq.38.2023.10.11.21.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 21:50:54 -0700 (PDT) From: Lukas Bulwahn To: iommu@lists.linux.dev, Joerg Roedel , Suravee Suthikulpanit , Vasant Hegde Cc: Kees Cook , "Gustavo A . R . Silva" , linux-hardening@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH] hardening: x86: drop reference to removed config AMD_IOMMU_V2 Date: Thu, 12 Oct 2023 06:50:40 +0200 Message-Id: <20231012045040.22088-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 21:51:07 -0700 (PDT) Commit 5a0b11a180a9 ("iommu/amd: Remove iommu_v2 module") removes the config AMD_IOMMU_V2. Remove the reference to this config in the x86 architecture-specific hardening config fragment as well. Signed-off-by: Lukas Bulwahn --- Joerg, please pick this patch on top of the commit above. Thanks. arch/x86/configs/hardening.config | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/configs/hardening.config b/arch/x86/configs/hardening.config index 19bb0c7a7669..7b497f3b7bc3 100644 --- a/arch/x86/configs/hardening.config +++ b/arch/x86/configs/hardening.config @@ -9,7 +9,6 @@ CONFIG_INTEL_IOMMU=y CONFIG_INTEL_IOMMU_DEFAULT_ON=y CONFIG_INTEL_IOMMU_SVM=y CONFIG_AMD_IOMMU=y -CONFIG_AMD_IOMMU_V2=y # Enable CET Shadow Stack for userspace. CONFIG_X86_USER_SHADOW_STACK=y -- 2.17.1